[wp-trac] Re: [WordPress Trac] #9141: wp_generate_tag_cloud uses wrong decimal seperator

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 18 12:39:08 GMT 2009


#9141: wp_generate_tag_cloud uses wrong decimal seperator
--------------------------+-------------------------------------------------
 Reporter:  Toni-P        |        Owner:  anonymous 
     Type:  defect (bug)  |       Status:  closed    
 Priority:  normal        |    Milestone:            
Component:  Template      |      Version:  2.7       
 Severity:  normal        |   Resolution:  worksforme
 Keywords:  needs-patch   |  
--------------------------+-------------------------------------------------
Changes (by DD32):

  * status:  new => closed
  * resolution:  => worksforme
  * milestone:  2.8 =>


Comment:

 I cant possibly see how the reporters problem is occuring, The only use of
 $count comes directly from get_terms() which doesnt internationalise the
 value.. On top of that, a $count with a comma in it, isnt going to be
 useable with the maths used to come up with the final value.

 To me, It sounds like a Plugin conflict, Which is odd, considering the
 reporters suggested fix.. a value with a comma is NOT going to come out of
 that math, its as simple as that..

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


More information about the wp-trac mailing list