Make WordPress Core


Ignore:
Timestamp:
05/06/2010 05:34:17 PM (14 years ago)
Author:
nacin
Message:

In Twenty Ten, give single.php a valid loop. fixes #13279.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/single.php

    r14433 r14476  
    1414            <div id="content">
    1515
    16 <?php the_post(); ?>
     16<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    1717
    1818                <div id="nav-above" class="navigation">
     
    7979                <?php comments_template( '', true ); ?>
    8080
     81<?php endwhile; // end of the loop. ?>
     82
    8183            </div><!-- #content -->
    8284        </div><!-- #container -->
Note: See TracChangeset for help on using the changeset viewer.