Changeset 45609 for trunk/src/wp-content/themes/twentythirteen/image.php
- Timestamp:
- 07/09/2019 01:08:47 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentythirteen/image.php
r44496 r45609 27 27 <div class="entry-meta"> 28 28 <?php 29 $published_text = __( '<span class="attachment-meta">Published on <time class="entry-date" datetime="%1$s">%2$s</time> in <a href="%3$s" title="Return to %4$s" rel="gallery">%5$s</a></span>', 'twentythirteen' ); 30 $post_title = get_the_title( $post->post_parent ); 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="Return to %4$s" rel="gallery">%5$s</a></span>', 'twentythirteen' ); 31 $post_title = get_the_title( $post->post_parent ); 31 32 if ( empty( $post_title ) || 0 == $post->post_parent ) { 32 33 $published_text = '<span class="attachment-meta"><time class="entry-date" datetime="%1$s">%2$s</time></span>';
Note: See TracChangeset
for help on using the changeset viewer.