mirror of
git://develop.git.wordpress.org/
synced 2025-04-21 04:31:55 +02:00
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
This commit is contained in:
parent
f52ef12091
commit
87da9620ad
@ -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>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user