[wp-trac] Re: [WordPress Trac] #9193: get_terms() in wp_tag_cloud() didn't return a int

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 20 20:01:25 GMT 2009


#9193: get_terms() in wp_tag_cloud() didn't return a int
--------------------------+-------------------------------------------------
 Reporter:  alexrabe      |       Owner:  ryan
     Type:  defect (bug)  |      Status:  new 
 Priority:  low           |   Milestone:  2.8 
Component:  Taxonomy      |     Version:  2.7 
 Severity:  normal        |    Keywords:      
--------------------------+-------------------------------------------------

Comment(by filosofo):

 I think the problem with checking is_numeric is that you're going to
 include searches for terms that might be numeric.

 Better to address the problem at the source and pass an integer to
 get_term_link, when that's what you want.  My patch should do that; does
 it solve your problem?

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


More information about the wp-trac mailing list