Opened 9 years ago
#40232 new feature request
Could is_tax check through queried_terms instead of queried_object?
| Reported by: | yeetien | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Taxonomy | Version: | 4.7.3 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
is_tax('tax2') returns false when tax2 is one of the taxonomies on http://somesite.com/?tax1=abc&tax2=xyz, as the queried_object is tax1.
Would it be possible for is_tax to check through queried_terms instead of queried_object, so that is_tax('tax1') and is_tax('tax2') would both return true?
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)