[wp-trac] Re: [WordPress Trac] #7080: a new WP_Query created in the
loop, whose the_post() method is called,
messes around with wp_the_query - "recent entries" widget is still
loop-breaking
WordPress Trac
wp-trac at lists.automattic.com
Sun May 17 21:29:35 GMT 2009
#7080: a new WP_Query created in the loop, whose the_post() method is called,
messes around with wp_the_query - "recent entries" widget is still loop-
breaking
--------------------------+-------------------------------------------------
Reporter: msi08 | Owner: Denis-de-Bernardy
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.8
Component: Query | Version: 2.7
Severity: normal | Resolution: fixed
Keywords: needs-patch |
--------------------------+-------------------------------------------------
Comment(by jacobsantos):
Nothing is changing wp_the_query. When reset_query is run, then the
wp_query is removed and then recreated with what is in wp_the_query. If
you are running into problems, then it isn't in anything in the Widget but
code outside of it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7080#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list