Skip to content


No need to rewind posts if nothing has been queued up yet #53

merged 1 commit into from

2 participants

Automattic member

The only place posts are ever queued if ( is_author() ), but then rewind_posts() is run right away there so there should be no reason to rewind the loop again.


The changes in a792ded look good to me. This is quite possibly left over from a previous version. Good catch!

Automattic member

Yeah. I assumed it was just left over, possibly rewind_posts() wasn't always called right away after the_post().


I just verified this. Please see the initial import from Toolbox:

@mfields mfields merged commit e8ebbf2 into Automattic:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 2 deletions.
  1. +0 −2 archive.php
2 archive.php
@@ -67,8 +67,6 @@
</header><!-- .page-header -->
- <?php rewind_posts(); ?>
<?php _s_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
Something went wrong with that request. Please try again.