Changeset 8532 for sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base-v2/image.php
- Timestamp:
- 03/26/2019 05:17:55 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base-v2/image.php
r8332 r8532 22 22 <?php 23 23 $metadata = wp_get_attachment_metadata(); 24 printf( __( 'Published <span class="entry-date"><time class="entry-date" datetime="%1$s" pubdate>%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s × %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%7$s</a>', 'wordcamporg' ), 25 esc_attr( get_the_date( 'c' ) ), 26 esc_html( get_the_date() ), 27 wp_get_attachment_url(), 28 $metadata['width'] ?? 0, 29 $metadata['height'] ?? 0, 30 get_permalink( $post->post_parent ), 31 get_the_title( $post->post_parent ) 24 /* translators: 1: attachment date, 2: link to full-size image, 3: link to parent post */ 25 printf( __( 'Published %1$s at %2$s in %3$s', 'wordcamporg' ), 26 sprintf( '<span class="entry-date"><time class="entry-date" datetime="%1$s" pubdate>%2$s</time></span>', 27 esc_attr( get_the_date( 'c' ) ), 28 esc_html( get_the_date() ) 29 ), 30 sprintf( '<a href="%1$s">%2$s × %3$s</a>', 31 wp_get_attachment_url(), 32 33 $metadata['width'] ?? 0, 34 $metadata['height'] ?? 0 35 ), 36 sprintf( '<a href="%1$s" rel="gallery">%2$s</a>', 37 get_permalink( $post->post_parent ), 38 get_the_title( $post->post_parent ) 39 ) 32 40 ); 33 41 ?>
Note: See TracChangeset
for help on using the changeset viewer.