Make WordPress Core

Opened 10 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?

Change History (0)

Note: See TracTickets for help on using tickets.