← All changes
|
src/integrations/third-party/wpml-wpseo-notification.php
+4
-4
18.3
→
trunk
View file →
| @@ -20,9 +20,9 @@ | ||
| 20 | 20 | * The notification ID. |
| 21 | 21 | * |
| 22 | 22 | * @internal |
| 23 | 23 | */ |
| 24 | - const NOTIFICATION_ID = 'wpml-wpseo-not-installed'; | |
| 24 | + public const NOTIFICATION_ID = 'wpml-wpseo-not-installed'; | |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * The short link helper. |
| 28 | 28 | * |
| @@ -106,15 +106,15 @@ | ||
| 106 | 106 | protected function get_notification() { |
| 107 | 107 | return new Yoast_Notification( |
| 108 | 108 | \sprintf( |
| 109 | 109 | /* translators: %1$s expands to an opening anchor tag, %2$s expands to an closing anchor tag. */ |
| 110 | - \__( 'We notice that you have installed WPML. To make sure your canonical URLs are set correctly, %1$sinstall and activate the Yoast SEO Multilingual add-on%2$s as well!', 'wordpress-seo' ), | |
| 110 | + \__( 'We notice that you have installed WPML. To make sure your canonical URLs are set correctly, %1$sinstall and activate the WPML SEO add-on%2$s as well!', 'wordpress-seo' ), | |
| 111 | 111 | '<a href="' . \esc_url( $this->short_link_helper->get( 'https://yoa.st/wpml-yoast-seo' ) ) . '" target="_blank">', |
| 112 | - '</a>' | |
| 112 | + '</a>', | |
| 113 | 113 | ), |
| 114 | 114 | [ |
| 115 | 115 | 'id' => self::NOTIFICATION_ID, |
| 116 | 116 | 'type' => Yoast_Notification::WARNING, |
| 117 | - ] | |
| 117 | + ], | |
| 118 | 118 | ); |
| 119 | 119 | } |
| 120 | 120 | } |