Twenty Nineteen: Fixes translatable strings with HTML code not appearing.

Only the translatable part not HTML, should appear for translators to avoid issues. This resolves one string that was not appearing. This only fixed for one theme although discussion on the ticket was for multiples. Other tickets should be open for those if desireable.

Props Presskopp, SergeyBiryukov, pratikkry, pento, mukesh27, laurelfulford, kjellr, desrosj, sabernhardt.
Fixes #45473.

Built from https://develop.svn.wordpress.org/trunk@58881


git-svn-id: http://core.svn.wordpress.org/trunk@58277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-08-11 09:45:17 +00:00
parent d09e94165e
commit 3b734c3e0b
2 changed files with 2 additions and 3 deletions

View File

@ -27,8 +27,7 @@ get_header();
// Parent post navigation.
the_post_navigation(
array(
/* translators: %s: Parent post link. */
'prev_text' => sprintf( __( '<span class="meta-nav">Published in</span><span class="post-title">%s</span>', 'twentynineteen' ), '%title' ),
'prev_text' => _x( '<span class="meta-nav">Published in</span><br><span class="post-title">%title</span>', 'Parent post link', 'twentynineteen' ),
)
);
} elseif ( is_singular( 'post' ) ) {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58880';
$wp_version = '6.7-alpha-58881';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.