- Timestamp:
- 07/09/2019 01:08:47 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/loop-attachment.php
r45209 r45609 22 22 ?> 23 23 24 <?php if ( ! empty( $post->post_parent ) ) : ?> 25 <p class="page-title"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'Return to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) ) ); ?>" rel="gallery"> 24 <?php 25 if ( ! empty( $post->post_parent ) ) : 26 /* translators: %s: post title */ 27 $post_tile = sprintf( __( 'Return to %s', 'twentyten' ), strip_tags( get_the_title( $post->post_parent ) ) ); 28 ?> 29 <p class="page-title"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" title="<?php echo esc_attr( $post_title ); ?>" rel="gallery"> 26 30 <?php 27 /* translators: %s -title of parent post */31 /* translators: %s: title of parent post */ 28 32 printf( __( '<span class="meta-nav">←</span> %s', 'twentyten' ), get_the_title( $post->post_parent ) ); 29 33 ?> … … 37 41 <?php 38 42 printf( 43 /* translators: %s: author display name */ 39 44 __( '<span class="%1$s">By</span> %2$s', 'twentyten' ), 40 45 'meta-prep meta-prep-author', … … 42 47 '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>', 43 48 get_author_posts_url( get_the_author_meta( 'ID' ) ), 49 /* translators: %s: author display name */ 44 50 esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ), 45 51 get_the_author() … … 50 56 <?php 51 57 printf( 58 /* translators: 1: CSS classes: 2: date */ 52 59 __( '<span class="%1$s">Published</span> %2$s', 'twentyten' ), 53 60 'meta-prep meta-prep-entry-date', … … 62 69 $metadata = wp_get_attachment_metadata(); 63 70 printf( 71 /* translators: %s: image dimensions */ 64 72 __( 'Full size is %s pixels', 'twentyten' ), 65 73 sprintf(
Note: See TracChangeset
for help on using the changeset viewer.