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 | src/presenters/admin/notice-presenter.php +6 -4 18.8 → trunk View file →
@@ -103,19 +103,21 @@
103 103 $out .= '<div>';
104 104 $out .= '<div class="notice-yoast__header">';
105 105 $out .= '<span class="yoast-icon"></span>';
106 106 $out .= \sprintf(
107 - '<h1 class="notice-yoast__header-heading">%s</h1>',
108 - \esc_html( $this->title )
107 + '<h2 class="notice-yoast__header-heading yoast-notice-migrated-header">%s</h2>',
108 + \esc_html( $this->title ),
109 109 );
110 110 $out .= '</div>';
111 + $out .= '<div class="notice-yoast-content">';
111 112 $out .= '<p>' . $this->content . '</p>';
112 - if ( ! \is_null( $this->button ) ) {
113 + if ( $this->button !== null ) {
113 114 $out .= '<p>' . $this->button . '</p>';
114 115 }
115 116 $out .= '</div>';
117 + $out .= '</div>';
116 118
117 - if ( ! \is_null( $this->image_filename ) ) {
119 + if ( $this->image_filename !== null ) {
118 120 $out .= '<img src="' . \esc_url( \plugin_dir_url( \WPSEO_FILE ) . 'images/' . $this->image_filename ) . '" alt="" height="60" width="75"/>';
119 121 }
120 122
121 123 $out .= '</div>';