_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
This commit is contained in:
Ian Stewart 2012-02-02 16:39:41 +00:00
parent d5b33742db
commit 2428d6a051
1 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ get_header(); ?>
<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'],