[wp-trac] [WordPress Trac] #15407: get_the_category code duplication

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 12 22:07:51 UTC 2010


#15407: get_the_category code duplication
-------------------------------+--------------------------------------------
 Reporter:  filosofo           |        Owner:  filosofo
     Type:  defect (bug)       |       Status:  reopened
 Priority:  normal             |    Milestone:  3.1     
Component:  Taxonomy           |      Version:  3.1     
 Severity:  normal             |   Resolution:          
 Keywords:  has-patch, revert  |  
-------------------------------+--------------------------------------------

Comment(by filosofo):

 It makes more sense to name a filter according to the use of the filter
 rather than its containing function, especially when the function is
 poorly named.

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


More information about the wp-trac mailing list