[wp-trac] Re: [WordPress Trac] #9425: The various $is_* variables in $WP_Query should only be set on the very first query call.

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 16 18:41:19 GMT 2009


#9425: The various $is_* variables in $WP_Query should only be set on the very
first query call.
--------------------------------------+-------------------------------------
 Reporter:  mtg169                    |        Owner:  anonymous
     Type:  defect (bug)              |       Status:  reopened 
 Priority:  high                      |    Milestone:  2.8      
Component:  General                   |      Version:  2.7.1    
 Severity:  major                     |   Resolution:           
 Keywords:  needs-patch dev-feedback  |  
--------------------------------------+-------------------------------------

Comment(by ryan):

 wp_reset_query() exists to restore the original query after calling
 finished with a custom query_posts() loop.  I think that will have to be
 good enough for now.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9425#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list