[wp-trac] [WordPress Trac] #19412: Changeset 18995 can lead to Notice: Undefined index: wp_the_query

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 2 10:24:49 UTC 2011


#19412: Changeset 18995 can lead to Notice: Undefined index: wp_the_query
--------------------------+------------------------------
 Reporter:  bobbingwide   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 [attachment:19412.patch] adds a `_doing_it_wrong()` message if
 `wp_reset_query()` was called before `query_posts()`.

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


More information about the wp-trac mailing list