[wp-trac] [WordPress Trac] #12526: Introduce has_term() to the tax API

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 1 22:17:33 UTC 2010


#12526: Introduce has_term() to the tax API
-------------------------------------+--------------------------------------
 Reporter:  ptahdunbar               |        Owner:          
     Type:  enhancement              |       Status:  reopened
 Priority:  normal                   |    Milestone:  3.1     
Component:  Taxonomy                 |      Version:  3.0     
 Severity:  normal                   |   Resolution:          
 Keywords:  has-patch needs-refresh  |  
-------------------------------------+--------------------------------------

Comment(by hakre):

 Functions that are easy to read (e.g. that consists only of a function
 call to has_term()), when the make use of the @use docblock that states
 this simple fact, is only adding redundant information and instead of
 helping, makes it harder to read and understand the function.

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


More information about the wp-trac mailing list