From ee4be502a73e35d347b7fa1b05cc546861af87c6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 5 Aug 2021 14:36:57 +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. Built from https://develop.svn.wordpress.org/trunk@51554 git-svn-id: http://core.svn.wordpress.org/trunk@51165 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/image.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentythirteen/image.php b/wp-content/themes/twentythirteen/image.php index 7372018cb6..4332ee3ab5 100644 --- a/wp-content/themes/twentythirteen/image.php +++ b/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 = ''; diff --git a/wp-includes/version.php b/wp-includes/version.php index 977993dd08..ed3229b2b3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51553'; +$wp_version = '5.9-alpha-51554'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.