Twenty Thirteen: fix translation string in image template, fixes #23799.

git-svn-id: https://develop.svn.wordpress.org/trunk@23758 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2013-03-19 22:29:44 +00:00
parent 067dff66cf
commit 20e493bb90
1 changed files with 3 additions and 1 deletions

View File

@ -68,8 +68,10 @@ get_header(); ?>
); );
$metadata = wp_get_attachment_metadata(); $metadata = wp_get_attachment_metadata();
printf( '<span class="attachment-meta full-size-link"><a href="%1$s" title="Link to full-size image">View full %2$s &times; %3$s resolution</a></span>', printf( '<span class="attachment-meta full-size-link"><a href="%1$s" title="%2$s">%3$s (%4$s &times; %5$s)</a></span>',
esc_url( wp_get_attachment_url() ), esc_url( wp_get_attachment_url() ),
esc_attr__( 'Link to full-size image', 'twentythirteen' ),
__( 'Full resolution', 'twentythirteen' ),
$metadata['width'], $metadata['width'],
$metadata['height'] $metadata['height']
); );