Skip to content

Commit

Permalink
_s: using the time element image attachments to match posts
Browse files Browse the repository at this point in the history
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8844 d957f892-c61d-0410-b221-f235e6eecf30
  • Loading branch information
ianstewart committed Feb 2, 2012
1 parent d5b3374 commit 2428d6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions image.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<div class="entry-meta"> <div class="entry-meta">
<?php <?php
$metadata = wp_get_attachment_metadata(); $metadata = wp_get_attachment_metadata();
printf( __( 'Published <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 &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%7$s</a>', '_s' ), 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 &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%7$s</a>', '_s' ),
esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ),
get_the_date(), esc_html( get_the_date() ),
wp_get_attachment_url(), wp_get_attachment_url(),
$metadata['width'], $metadata['width'],
$metadata['height'], $metadata['height'],
Expand Down

0 comments on commit 2428d6a

Please sign in to comment.