WordPress.org

Make WordPress Core

Changeset 14476


Ignore:
Timestamp:
05/06/10 17:34:17 (4 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.