[wp-trac] [WordPress Trac] #35619: Queried object and Query vars are not consistent when querying two custom taxonomies
WordPress Trac
noreply at wordpress.org
Sat Feb 6 03:57:35 UTC 2016
#35619: Queried object and Query vars are not consistent when querying two custom
taxonomies
--------------------------------------+---------------------------
Reporter: Chouby | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5
Component: Query | Version: 4.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"36484"]:
{{{
#!CommitTicketReference repository="" revision="36484"
`WP_Query` taxonomy query vars should be set to first of multiple
taxonomies.
This provides better parity with `get_queried_object()`, which will return
the
first taxonomy/term matched by the current query.
[29891] introduced the abnormal behavior for the 'taxonomy' and 'term'
query vars.
Props Chouby.
Fixes #35619.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35619#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list