[wp-trac] [WordPress Trac] #18636: is_tax() returns false when is_category() or is_tag() returns true

WordPress Trac noreply at wordpress.org
Fri Dec 14 09:34:54 UTC 2012


#18636: is_tax() returns false when is_category() or is_tag() returns true
--------------------------+----------------------
 Reporter:  Viper007Bond  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Taxonomy      |     Version:  3.3
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  has-patch     |
--------------------------+----------------------
Changes (by ciobi):

 * cc: alex.ciobica@… (added)


Comment:

 I agree with @ericmann. This issue need to be addressed. It's not
 intuitive, and it hurts WordPress's reputation as a CMS.

 If you can't bluntly change this for fear of breaking plugins, how about
 adding `is_taxonomy` that works like it should. And warn developers of
 deprecating `is_tax()` in a few versions.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18636#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list