From 87da9620adff4d99a99e71bb6dc93f709a7ba7bf Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 5 Aug 2021 14:35:09 +0000 Subject: [PATCH] Twenty Thirteen: Remove wrapping HTML tag from translatable string. This fixes a "Strings should not be wrapped in HTML" WPCS warning. Props jrf. See #53359. git-svn-id: https://develop.svn.wordpress.org/trunk@51554 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentythirteen/image.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentythirteen/image.php b/src/wp-content/themes/twentythirteen/image.php index 7372018cb6..4332ee3ab5 100644 --- a/src/wp-content/themes/twentythirteen/image.php +++ b/src/wp-content/themes/twentythirteen/image.php @@ -27,7 +27,8 @@ get_header(); ?>
Published on in %5$s', 'twentythirteen' ); + $published_text = __( 'Published on in %5$s', 'twentythirteen' ); + $published_text = '' . $published_text . ''; $post_title = get_the_title( $post->post_parent ); if ( empty( $post_title ) || 0 == $post->post_parent ) { $published_text = '';