Make WordPress Core

Opened 8 years ago

#40232 new feature request

Could is_tax check through queried_terms instead of queried_object?

Reported by: yeetien's profile yeetien Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.3
Component: Taxonomy Keywords:
Focuses: Cc:

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.