Twenty Thirteen: Correct indentation in `image.php` template.

Props jrf.
See #53359.
Built from https://develop.svn.wordpress.org/trunk@51556


git-svn-id: http://core.svn.wordpress.org/trunk@51167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-08-05 14:38:57 +00:00
parent 3560a816d5
commit 62a788e40e
2 changed files with 19 additions and 19 deletions

View File

@ -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 &times; %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 &times; %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 -->

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-51555';
$wp_version = '5.9-alpha-51556';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.