PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | admin/class-admin-gutenberg-compatibility-notification.php +3 -3 18.2 → trunk View file →
@@ -57,9 +57,9 @@
57 57 /**
58 58 * Filter: 'yoast_display_gutenberg_compat_notification' - Allows developer to disable the Gutenberg compatibility
59 59 * notification.
60 60 *
61 - * @api bool
61 + * @param bool $display_notification
62 62 */
63 63 $display_notification = apply_filters( 'yoast_display_gutenberg_compat_notification', true );
64 64
65 65 if (
@@ -87,9 +87,9 @@
87 87 /* translators: %1$s expands to Yoast SEO, %2$s expands to the installed version, %3$s expands to Gutenberg */
88 88 __( '%1$s detected you are using version %2$s of %3$s, please update to the latest version to prevent compatibility issues.', 'wordpress-seo' ),
89 89 'Yoast SEO',
90 90 $this->compatibility_checker->get_installed_version(),
91 - 'Gutenberg'
91 + 'Gutenberg',
92 92 );
93 93
94 94 $notification = new Yoast_Notification(
95 95 $message,
@@ -96,9 +96,9 @@
96 96 [
97 97 'id' => $this->notification_id,
98 98 'type' => $level,
99 99 'priority' => 1,
100 - ]
100 + ],
101 101 );
102 102
103 103 $this->notification_center->add_notification( $notification );
104 104 }