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

git-svn-id: http://svn.automattic.com/wordpress/trunk@14476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-06 17:34:17 +00:00
parent 0a71b5dc8a
commit 7df4cd20a1
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<div id="container">
<div id="content">
<?php the_post(); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="nav-above" class="navigation">
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
@ -78,6 +78,8 @@
<?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div><!-- #container -->