[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:36:24 UTC 2016


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

Comment (by boonebgorges):

 In [changeset:"38585"]:
 {{{
 #!CommitTicketReference repository="" revision="38585"
 Query: Avoid PHP notice in `get_queried_object()` when query contains `NOT
 EXISTS` tax query.

 Props johnjamesjacoby.
 See #37962.
 }}}

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


More information about the wp-trac mailing list