From d80e18cc2d4fe6450ab6b023f2822b575ed5f5b5 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Sun, 11 Aug 2024 09:43:14 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@58881 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentynineteen/single.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentynineteen/single.php b/src/wp-content/themes/twentynineteen/single.php index 14a8ac5b54..2760bc45b7 100644 --- a/src/wp-content/themes/twentynineteen/single.php +++ b/src/wp-content/themes/twentynineteen/single.php @@ -27,8 +27,7 @@ get_header(); // Parent post navigation. the_post_navigation( array( - /* translators: %s: Parent post link. */ - 'prev_text' => sprintf( __( 'Published in%s', 'twentynineteen' ), '%title' ), + 'prev_text' => _x( 'Published in
%title', 'Parent post link', 'twentynineteen' ), ) ); } elseif ( is_singular( 'post' ) ) {