[wp-trac] [WordPress Trac] #11904: Conditional tag for terms

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 16 04:11:11 UTC 2010


#11904: Conditional tag for terms
-------------------------+--------------------------------------------------
 Reporter:  pavelevap    |       Owner:  ryan     
     Type:  enhancement  |      Status:  assigned 
 Priority:  normal       |   Milestone:  3.0      
Component:  Taxonomy     |     Version:  2.9.1    
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by nacin):

 I was actually going to suggest we add an optional parameter $taxonomy to
 is_term()... but, well:

 {{{ function is_term($term, $taxonomy = '', $parent = 0) }}}

 Why isn't that sufficient?

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


More information about the wp-trac mailing list