Twenty Thirteen: Add missing loop in the image attachment template.

Props vtieu.
Fixes #35110.
Built from https://develop.svn.wordpress.org/trunk@36136


git-svn-id: http://core.svn.wordpress.org/trunk@36102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2015-12-31 11:39:26 +00:00
parent 25ca04b95f
commit d15b5318b5
2 changed files with 9 additions and 1 deletions

View File

@ -13,6 +13,12 @@ get_header(); ?>
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<?php
// Start the Loop.
while ( have_posts() ) : the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'image-attachment' ); ?>>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
@ -76,6 +82,8 @@ get_header(); ?>
<?php comments_template(); ?>
<?php endwhile; // End the loop. ?>
</div><!-- #content -->
</div><!-- #primary -->

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36135';
$wp_version = '4.5-alpha-36136';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.