[wp-trac] [WordPress Trac] #30623: WP_Tax_Query + WP_Query::get_queried_object() fatal

WordPress Trac noreply at wordpress.org
Sun Dec 7 14:57:56 UTC 2014


#30623: WP_Tax_Query + WP_Query::get_queried_object() fatal
--------------------------+---------------------------
 Reporter:  dd32          |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Taxonomy      |     Version:  trunk
 Severity:  major         |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"30771"]:
 {{{
 #!CommitTicketReference repository="" revision="30771"
 In `WP_Query::get_queried_object()`, use the new format for referencing
 tax query clauses.

 `queried_terms`, rather than `queries`, is the tax_query property where a
 flat
 index of terms is stored.

 See [29901] for a similar fix in `redirect_canonical()`. See #29738.

 Props dd32.
 Fixes #30623.
 }}}

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


More information about the wp-trac mailing list