Changeset 51554
- Timestamp:
- 08/05/2021 02:35:09 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentythirteen/image.php
r49539 r51554 28 28 <?php 29 29 /* translators: 1: Date, 2: Date, 3, Parent permalink, 4, Post title, 5: Post title. */ 30 $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' ); 30 $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' ); 31 $published_text = '<span class="attachment-meta">' . $published_text . '</span>'; 31 32 $post_title = get_the_title( $post->post_parent ); 32 33 if ( empty( $post_title ) || 0 == $post->post_parent ) {
Note: See TracChangeset
for help on using the changeset viewer.