Skip to content

Commit a6bb6ef

Browse files
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
1 parent 69b661f commit a6bb6ef

File tree

1 file changed

+20
-20
lines changed
  • src/wp-content/themes/twentythirteen

1 file changed

+20
-20
lines changed

src/wp-content/themes/twentythirteen/image.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,26 @@
3434
$published_text = '<span class="attachment-meta"><time class="entry-date" datetime="%1$s">%2$s</time></span>';
3535
}
3636

37-
printf(
38-
$published_text,
39-
esc_attr( get_the_date( 'c' ) ),
40-
esc_html( get_the_date() ),
41-
esc_url( get_permalink( $post->post_parent ) ),
42-
esc_attr( strip_tags( $post_title ) ),
43-
$post_title
44-
);
45-
46-
$metadata = wp_get_attachment_metadata();
47-
printf(
48-
'<span class="attachment-meta full-size-link"><a href="%1$s" title="%2$s">%3$s (%4$s &times; %5$s)</a></span>',
49-
esc_url( wp_get_attachment_url() ),
50-
esc_attr__( 'Link to full-size image', 'twentythirteen' ),
51-
__( 'Full resolution', 'twentythirteen' ),
52-
$metadata['width'],
53-
$metadata['height']
54-
);
55-
56-
edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' );
37+
printf(
38+
$published_text,
39+
esc_attr( get_the_date( 'c' ) ),
40+
esc_html( get_the_date() ),
41+
esc_url( get_permalink( $post->post_parent ) ),
42+
esc_attr( strip_tags( $post_title ) ),
43+
$post_title
44+
);
45+
46+
$metadata = wp_get_attachment_metadata();
47+
printf(
48+
'<span class="attachment-meta full-size-link"><a href="%1$s" title="%2$s">%3$s (%4$s &times; %5$s)</a></span>',
49+
esc_url( wp_get_attachment_url() ),
50+
esc_attr__( 'Link to full-size image', 'twentythirteen' ),
51+
__( 'Full resolution', 'twentythirteen' ),
52+
$metadata['width'],
53+
$metadata['height']
54+
);
55+
56+
edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' );
5757
?>
5858
</div><!-- .entry-meta -->
5959
</header><!-- .entry-header -->

0 commit comments

Comments
 (0)