Changeset 19582 for trunk/wp-content/themes/twentyeleven/image.php
- Timestamp:
- 12/10/2011 07:18:51 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/twentyeleven/image.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/image.php
r19379 r19582 28 28 <?php 29 29 $metadata = wp_get_attachment_metadata(); 30 printf( __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></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>', 'twentyeleven' ),30 printf( __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></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">%8$s</a>', 'twentyeleven' ), 31 31 esc_attr( get_the_time() ), 32 32 get_the_date(), … … 35 35 $metadata['height'], 36 36 esc_url( get_permalink( $post->post_parent ) ), 37 esc_attr( strip_tags( get_the_title( $post->post_parent ) ) ), 37 38 get_the_title( $post->post_parent ) 38 39 ); … … 71 72 } 72 73 ?> 73 <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php echo esc_attr( get_the_title()); ?>" rel="attachment"><?php74 <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php 74 75 $attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 ); 75 76 echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height.
Note: See TracChangeset
for help on using the changeset viewer.