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:
parent
25ca04b95f
commit
d15b5318b5
|
@ -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 -->
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue