[wp-trac] [WordPress Trac] #26634: get_queried_object does not test anymore for existence of terms in tax_query

WordPress Trac noreply at wordpress.org
Sun Dec 15 19:49:52 UTC 2013


#26634: get_queried_object does not test anymore for existence of terms in
tax_query
--------------------------+-----------------------------
 Reporter:  Chouby        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:  3.8
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 This may result in PHP errors:
 {{{
 PHP Warning:  reset() expects parameter 1 to be array, null given in /wp-
 includes/query.php on line 3277
 PHP Notice:  Undefined index: taxonomy in /wp-includes/query.php on line
 3277
 }}}

 This appears to be a regression introduced in WP 3.8 by [26007] for
 #20767.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26634>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list