[wp-trac] [WordPress Trac] #11727: Tag cloud widget - font size

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 5 16:43:32 UTC 2010


#11727: Tag cloud widget - font size
--------------------------+-------------------------------------------------
 Reporter:  tin68         |       Owner:                  
     Type:  defect (bug)  |      Status:  new             
 Priority:  normal        |   Milestone:  Unassigned      
Component:  General       |     Version:  2.9.1           
 Severity:  normal        |    Keywords:  widget tag cloud
--------------------------+-------------------------------------------------

Comment(by nacin):

 The tag cloud widget uses wp_tag_cloud() with default args (with the
 'widget_tag_cloud_args' filter applied). But wp_generate_tag_cloud() can
 accept a unit.

 While I perhaps see the case for rounding, round() creates an integer
 unless you include a precision argument.

 Honestly, I'm not sure it is necessary. Maybe with a precision of at least
 4.

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


More information about the wp-trac mailing list