[wp-trac] [WordPress Trac] #18636: is_tax() returns false when is_category() or is_tag() returns true
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 11 04:19:19 UTC 2011
#18636: is_tax() returns false when is_category() or is_tag() returns true
--------------------------+------------------------------
Reporter: Viper007Bond | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by Viper007Bond):
Replying to [comment:2 dd32]:
> To me it makes sense for is_tax to be true for any taxonomy request,
however I'm questioning if there's a potential for back-compat breakage by
changing this..
Indeed. I'm not sure either, but I also can't think of what could go
horribly wrong. Currently `is_tax()` just means `is_custom_tax()` and if
you're testing for that alone, then you're already doing something wrong.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18636#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list