mirror of
git://develop.git.wordpress.org/
synced 2025-04-21 04:31:55 +02:00
Twenty Thirteen: Correct indentation in image.php
template.
Props jrf. See #53359. git-svn-id: https://develop.svn.wordpress.org/trunk@51556 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
69b661f687
commit
a6bb6ef2fc
@ -34,26 +34,26 @@ get_header(); ?>
|
||||
$published_text = '<span class="attachment-meta"><time class="entry-date" datetime="%1$s">%2$s</time></span>';
|
||||
}
|
||||
|
||||
printf(
|
||||
$published_text,
|
||||
esc_attr( get_the_date( 'c' ) ),
|
||||
esc_html( get_the_date() ),
|
||||
esc_url( get_permalink( $post->post_parent ) ),
|
||||
esc_attr( strip_tags( $post_title ) ),
|
||||
$post_title
|
||||
);
|
||||
printf(
|
||||
$published_text,
|
||||
esc_attr( get_the_date( 'c' ) ),
|
||||
esc_html( get_the_date() ),
|
||||
esc_url( get_permalink( $post->post_parent ) ),
|
||||
esc_attr( strip_tags( $post_title ) ),
|
||||
$post_title
|
||||
);
|
||||
|
||||
$metadata = wp_get_attachment_metadata();
|
||||
printf(
|
||||
'<span class="attachment-meta full-size-link"><a href="%1$s" title="%2$s">%3$s (%4$s × %5$s)</a></span>',
|
||||
esc_url( wp_get_attachment_url() ),
|
||||
esc_attr__( 'Link to full-size image', 'twentythirteen' ),
|
||||
__( 'Full resolution', 'twentythirteen' ),
|
||||
$metadata['width'],
|
||||
$metadata['height']
|
||||
);
|
||||
$metadata = wp_get_attachment_metadata();
|
||||
printf(
|
||||
'<span class="attachment-meta full-size-link"><a href="%1$s" title="%2$s">%3$s (%4$s × %5$s)</a></span>',
|
||||
esc_url( wp_get_attachment_url() ),
|
||||
esc_attr__( 'Link to full-size image', 'twentythirteen' ),
|
||||
__( 'Full resolution', 'twentythirteen' ),
|
||||
$metadata['width'],
|
||||
$metadata['height']
|
||||
);
|
||||
|
||||
edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' );
|
||||
edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' );
|
||||
?>
|
||||
</div><!-- .entry-meta -->
|
||||
</header><!-- .entry-header -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user