Make WordPress Core


Ignore:
Timestamp:
12/31/2015 11:38:43 AM (9 years ago)
Author:
swissspidy
Message:

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

Props vtieu.
Fixes #35110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentythirteen/image.php

    r32116 r36136  
    1414    <div id="primary" class="content-area">
    1515        <div id="content" class="site-content" role="main">
     16
     17            <?php
     18                // Start the Loop.
     19                while ( have_posts() ) : the_post();
     20            ?>
     21
    1622            <article id="post-<?php the_ID(); ?>" <?php post_class( 'image-attachment' ); ?>>
    1723                <header class="entry-header">
     
    7783            <?php comments_template(); ?>
    7884
     85            <?php endwhile; // End the loop. ?>
     86
    7987        </div><!-- #content -->
    8088    </div><!-- #primary -->
Note: See TracChangeset for help on using the changeset viewer.