← All changes
|
src/presenters/admin/indexing-failed-notification-presenter.php
+5
-5
18.2
→
trunk
View file →
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | <?php |
| 2 | -// phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded | |
| 2 | + | |
| 3 | 3 | namespace Yoast\WP\SEO\Presenters\Admin; |
| 4 | 4 | |
| 5 | 5 | use WPSEO_Addon_Manager; |
| 6 | 6 | use Yoast\WP\SEO\Helpers\Product_Helper; |
| @@ -57,12 +57,12 @@ | ||
| 57 | 57 | $notification_text = \sprintf( |
| 58 | 58 | /* Translators: %1$s expands to an opening anchor tag for a link leading to the Yoast SEO tools page, %2$s expands to a closing anchor tag. */ |
| 59 | 59 | \esc_html__( |
| 60 | 60 | 'Something has gone wrong and we couldn\'t complete the optimization of your SEO data. Please %1$sre-start the process%2$s.', |
| 61 | - 'wordpress-seo' | |
| 61 | + 'wordpress-seo', | |
| 62 | 62 | ), |
| 63 | 63 | '<a href="' . \get_admin_url( null, 'admin.php?page=wpseo_tools' ) . '">', |
| 64 | - '</a>' | |
| 64 | + '</a>', | |
| 65 | 65 | ); |
| 66 | 66 | |
| 67 | 67 | if ( $this->product_helper->is_premium() ) { |
| 68 | 68 | if ( $this->has_valid_premium_subscription() ) { |
| @@ -75,12 +75,12 @@ | ||
| 75 | 75 | $notification_text = \sprintf( |
| 76 | 76 | /* Translators: %1$s expands to an opening anchor tag for a link leading to the Premium installation page, %2$s expands to a closing anchor tag. */ |
| 77 | 77 | \esc_html__( |
| 78 | 78 | 'Oops, something has gone wrong and we couldn\'t complete the optimization of your SEO data. Please make sure to activate your subscription in MyYoast by completing %1$sthese steps%2$s.', |
| 79 | - 'wordpress-seo' | |
| 79 | + 'wordpress-seo', | |
| 80 | 80 | ), |
| 81 | 81 | '<a href="' . \esc_url( $this->short_link_helper->get( 'https://yoa.st/3wv' ) ) . '">', |
| 82 | - '</a>' | |
| 82 | + '</a>', | |
| 83 | 83 | ); |
| 84 | 84 | } |
| 85 | 85 | } |
| 86 | 86 | |