[wp-trac] [WordPress Trac] #22125: Prevent stomping $wp_the_query by accident
WordPress Trac
noreply at wordpress.org
Wed Nov 7 20:03:29 UTC 2012
#22125: Prevent stomping $wp_the_query by accident
--------------------------+---------------------
Reporter: scribu | Owner: ryan
Type: defect (bug) | Status: closed
Priority: high | Milestone: 3.5
Component: Query | Version: trunk
Severity: blocker | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------
Changes (by ryan):
* owner: => ryan
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"22434"]:
{{{
#!CommitTicketReference repository="" revision="22434"
Don't assign wp_the_query to wp_query by reference. Removing the ref
avoids accidentally stomping wp_the_query.
Props scribu, wpmuguru
fixes #22125
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22125#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list