[wp-trac] [WordPress Trac] #26728: Previous fix for get_queried_object, gives notices for tax queries

WordPress Trac noreply at wordpress.org
Fri Dec 27 19:29:41 UTC 2013


#26728: Previous fix for get_queried_object, gives notices for tax queries
--------------------------+--------------------
 Reporter:  layotte       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.8.1
Component:  Query         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by wonderboymusic):

 In [changeset:"26874"]:
 {{{
 #!CommitTicketReference repository="" revision="26874"
 In `WP_Query::get_queried_object()`, move the check for `$query['terms']`
 to a place where `$query` is actually set. This should be included if
 [26864] makes it into 3.8.1.

 Props SergeyBiryukov.
 See #26728, [26864], #26634, #26627.
 }}}

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


More information about the wp-trac mailing list