Twenty Twenty-One: Make translator comments referencing the post title consistent.

Follow-up to [53221].

Props SergeyBiryukov.
Fixes #55564.
Built from https://develop.svn.wordpress.org/trunk@53263


git-svn-id: http://core.svn.wordpress.org/trunk@52852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
davidbaumwald 2022-04-25 23:11:10 +00:00
parent 77c9ef30d7
commit df148d90fc
4 changed files with 6 additions and 6 deletions

View File

@ -66,7 +66,7 @@ while ( have_posts() ) {
// Edit post link. // Edit post link.
edit_post_link( edit_post_link(
sprintf( sprintf(
/* translators: %s: Name of current post. Only visible to screen readers. */ /* translators: %s: Post title. Only visible to screen readers. */
esc_html__( 'Edit %s', 'twentytwentyone' ), esc_html__( 'Edit %s', 'twentytwentyone' ),
'<span class="screen-reader-text">' . get_the_title() . '</span>' '<span class="screen-reader-text">' . get_the_title() . '</span>'
), ),
@ -91,7 +91,7 @@ while ( have_posts() ) {
// Edit post link. // Edit post link.
edit_post_link( edit_post_link(
sprintf( sprintf(
/* translators: %s: Name of current post. Only visible to screen readers. */ /* translators: %s: Post title. Only visible to screen readers. */
esc_html__( 'Edit %s', 'twentytwentyone' ), esc_html__( 'Edit %s', 'twentytwentyone' ),
'<span class="screen-reader-text">' . get_the_title() . '</span>' '<span class="screen-reader-text">' . get_the_title() . '</span>'
), ),

View File

@ -88,7 +88,7 @@ if ( ! function_exists( 'twenty_twenty_one_entry_meta_footer' ) ) {
// Edit post link. // Edit post link.
edit_post_link( edit_post_link(
sprintf( sprintf(
/* translators: %s: Name of current post. Only visible to screen readers. */ /* translators: %s: Post title. Only visible to screen readers. */
esc_html__( 'Edit %s', 'twentytwentyone' ), esc_html__( 'Edit %s', 'twentytwentyone' ),
'<span class="screen-reader-text">' . get_the_title() . '</span>' '<span class="screen-reader-text">' . get_the_title() . '</span>'
), ),
@ -129,7 +129,7 @@ if ( ! function_exists( 'twenty_twenty_one_entry_meta_footer' ) ) {
// Edit post link. // Edit post link.
edit_post_link( edit_post_link(
sprintf( sprintf(
/* translators: %s: Name of current post. Only visible to screen readers. */ /* translators: %s: Post title. Only visible to screen readers. */
esc_html__( 'Edit %s', 'twentytwentyone' ), esc_html__( 'Edit %s', 'twentytwentyone' ),
'<span class="screen-reader-text">' . get_the_title() . '</span>' '<span class="screen-reader-text">' . get_the_title() . '</span>'
), ),

View File

@ -44,7 +44,7 @@
<?php <?php
edit_post_link( edit_post_link(
sprintf( sprintf(
/* translators: %s: Name of current post. Only visible to screen readers. */ /* translators: %s: Post title. Only visible to screen readers. */
esc_html__( 'Edit %s', 'twentytwentyone' ), esc_html__( 'Edit %s', 'twentytwentyone' ),
'<span class="screen-reader-text">' . get_the_title() . '</span>' '<span class="screen-reader-text">' . get_the_title() . '</span>'
), ),

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.0-beta2-53262'; $wp_version = '6.0-beta2-53263';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.