Commit realizado el 12:13:52 08-04-2024
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* Classic Editor notice for Edit Post Education template for Lite.
|
||||
*
|
||||
* @since 1.8.1
|
||||
*
|
||||
* @var string $message Notice message.
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="wpforms-edit-post-education-notice wpforms-hidden">
|
||||
<?php
|
||||
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
echo wpforms_render(
|
||||
'education/admin/edit-post/notice',
|
||||
[
|
||||
'message' => $message,
|
||||
],
|
||||
true
|
||||
)
|
||||
?>
|
||||
<button type="button" class="wpforms-edit-post-education-notice-close notice-dismiss">
|
||||
<span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice.', 'wpforms-lite' ); ?></span>
|
||||
</button>
|
||||
</div>
|
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* Gutenberg Editor notice for Edit Post Education template for Lite.
|
||||
*
|
||||
* @since 1.8.1
|
||||
*
|
||||
* @var string $message Notice message.
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="wpforms-edit-post-education-notice-body">
|
||||
<p>
|
||||
<strong><?php esc_html_e( 'Oh hey, it looks like you\'re working on a Contact page.', 'wpforms-lite' ); ?></strong>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
echo wp_kses(
|
||||
$message,
|
||||
[
|
||||
'a' => [
|
||||
'href' => [],
|
||||
'target' => [],
|
||||
'rel' => [],
|
||||
],
|
||||
]
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
Reference in New Issue
Block a user