This commit is contained in:
2026-03-11 15:57:27 +01:00
parent 481271c972
commit b4b460fd21
10775 changed files with 2071579 additions and 26409 deletions

View File

@@ -0,0 +1,29 @@
<?php
/**
* Classic Editor notice for Edit Post Education template.
*
* @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>

View File

@@ -0,0 +1,33 @@
<?php
/**
* Gutenberg Editor notice for Edit Post Education template.
*
* @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>