[wp-trac] [WordPress Trac] #37962: NOT EXISTS tax_query triggers debug notice on get_queried_object()

WordPress Trac noreply at wordpress.org
Fri Sep 9 19:48:28 UTC 2016


#37962: NOT EXISTS tax_query triggers debug notice on get_queried_object()
---------------------------------------+---------------------------
 Reporter:  johnjamesjacoby            |       Owner:  boonebgorges
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  4.7
Component:  Taxonomy                   |     Version:  3.8
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+---------------------------
Changes (by boonebgorges):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38586"]:
 {{{
 #!CommitTicketReference repository="" revision="38586"
 Query: Eliminate unnecessary `wp_list_filter()` call in
 `get_queried_object()`.

 The refactor in [30711] swapped out the old `queries` property for the
 new `queried_terms`, but should also have gotten rid of the now-
 superfluous `wp_list_filter()` call.

 Fixes #37962.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37962#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list