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

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 13 15:32:23 UTC 2010


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

Comment(by nacin):

 (In [16343]) Move cast to within array_keys to prevent warning when
 get_the_terms returns false. see #15407.

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


More information about the wp-trac mailing list