| @@ -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>'; |