Permalink
Browse files

_s: using the time element image attachments to match posts

git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8844 d957f892-c61d-0410-b221-f235e6eecf30
  • Loading branch information...
1 parent d5b3374 commit 2428d6a0515d7a3f96f716518e77baed77873be0 @ianstewart ianstewart committed Feb 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 image.php
View
@@ -20,9 +20,9 @@
<div class="entry-meta">
<?php
$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' ),
- esc_attr( get_the_time() ),
- get_the_date(),
+ 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_date( 'c' ) ),
+ esc_html( get_the_date() ),
wp_get_attachment_url(),
$metadata['width'],
$metadata['height'],

0 comments on commit 2428d6a

Please sign in to comment.