[wp-trac] [WordPress Trac] #10721: is_tax() fails with a parameter

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 24 15:41:17 UTC 2009


#10721: is_tax() fails with a parameter
--------------------------+-------------------------------------------------
 Reporter:  scribu        |       Owner:  filosofo 
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.9      
Component:  Taxonomy      |     Version:  2.9      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by ryan):

 I wonder if it should search for both taxonomy and term since we don't
 have an is_term() equivalent (is_term() is already used in taxonomy.php
 for something else).  Hmm, maybe is_tax_term().  Anyhow, I'm wondering if
 is_tax() is being used by plugins to search term slugs, since that's what
 it currently (and erroneously) does.

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


More information about the wp-trac mailing list