Opened 11 years ago
Closed 11 years ago
#26634 closed defect (bug) (fixed)
get_queried_object does not test anymore for existence of terms in tax_query
Reported by: | Chouby | Owned by: | |
---|---|---|---|
Milestone: | 3.8.1 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Query | Keywords: | has-patch fixed-major |
Focuses: | Cc: |
Attachments (1)
Change History (12)
#5
@
11 years ago
@wonderboymusic I remove a custom taxonomy from the query in a parse_query filter
add_filter('parse_query', 'remove_my_tax'); function remove_my_tax($query) { $qvars = &$query->query_vars; unset ($qvars['my-tax']); // 'my-tax' is a custom taxonomy query var }
#7
@
11 years ago
- Keywords fixed-major added
Re-opening to be code-reviewed and considered for inclusion in 3.8.1.
Note: See
TracTickets for help on using
tickets.
I believe you, but what query caused this? I would like to add another unit test for it