Skip to content

Commit 55d75e2

Browse files
authored
Merge pull request #22624 from Yoast/fix/copy-for-default-seo-data-alerts
Fix/copy for default seo data alerts
2 parents fb31606 + 328af0f commit 55d75e2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/alerts/application/default-seo-data/default-seo-data-alert.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,15 @@ private function get_default_seo_data_message( $has_enough_posts_with_default_ti
187187
$default_seo_data = \esc_html__( 'SEO data', 'wordpress-seo' );
188188
}
189189

190-
/* translators: %1$s expands to "SEO title" or "meta description", %2$s expands to an opening strong tag, %3$s expands to a closing strong tag, %4$s expands to an opening link tag, %5$s expands to a closing link tag. */
191-
$message = ( $this->product_helper->is_premium() ) ? \esc_html__( 'Your recent posts are using default %1$s, making them less appealing in search. Create custom titles and descriptions instantly with %2$sYoast AI Generate%3$s. %4$sLearn how to use it%5$s.', 'wordpress-seo' ) : \esc_html__( 'Your recent posts are using default %1$s, which makes them easy to overlook. Catch attention in search with custom titles and descriptions from %2$sYoast AI Generate%3$s. %4$sTry it for free.%5$s', 'wordpress-seo' );
190+
/* translators: %1$s expands to "SEO title" or "meta description", %2$s expands to an opening link tag, %3$s expands to an opening strong tag, %4$s expands to a closing strong tag, %5$s expands to a closing link tag. */
191+
$message = ( $this->product_helper->is_premium() ) ? \esc_html__( 'Your recent posts are using default %1$s, which can make them easy to overlook in search results. Update them manually or %2$sfind out how %3$sYoast AI Generate%4$s can improve them for you.%5$s', 'wordpress-seo' ) : \esc_html__( 'Your recent posts are using default %1$s, which can make them easy to overlook in search results. Update them for better visibility or %2$stry %3$sYoast AI Generate%4$s for free to do it faster.%5$s', 'wordpress-seo' );
192192

193193
return \sprintf(
194194
$message,
195195
$default_seo_data,
196+
'<a href="' . \esc_url( $shortlink ) . '" target="_blank">',
196197
'<strong>',
197198
'</strong>',
198-
'<a href="' . \esc_url( $shortlink ) . '" target="_blank">',
199199
'</a>'
200200
);
201201
}

0 commit comments

Comments
 (0)