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
This commit is contained in:
Sergey Biryukov 2021-08-05 14:36:57 +00:00
parent 64b193980a
commit ee4be502a7
2 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,8 @@ get_header(); ?>
<div class="entry-meta">
<?php
/* translators: 1: Date, 2: Date, 3, Parent permalink, 4, Post title, 5: Post title. */
$published_text = __( '<span class="attachment-meta">Published on <time class="entry-date" datetime="%1$s">%2$s</time> in <a href="%3$s" title="Go to %4$s" rel="gallery">%5$s</a></span>', 'twentythirteen' );
$published_text = __( 'Published on <time class="entry-date" datetime="%1$s">%2$s</time> in <a href="%3$s" title="Go to %4$s" rel="gallery">%5$s</a>', 'twentythirteen' );
$published_text = '<span class="attachment-meta">' . $published_text . '</span>';
$post_title = get_the_title( $post->post_parent );
if ( empty( $post_title ) || 0 == $post->post_parent ) {
$published_text = '<span class="attachment-meta"><time class="entry-date" datetime="%1$s">%2$s</time></span>';

View File

@ -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.