[wp-trac] Re: [WordPress Trac] #7504: wp_tag_cloud does not honor largest and smallest options

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 28 18:45:12 GMT 2008


#7504: wp_tag_cloud does not honor largest and smallest options
-----------------------+----------------------------------------------------
 Reporter:  Edoardo    |        Owner:  anonymous
     Type:  defect     |       Status:  new      
 Priority:  normal     |    Milestone:  2.6.2    
Component:  General    |      Version:  2.6      
 Severity:  normal     |   Resolution:           
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by scohoust):

 Replying to [comment:3 Edoardo]:
 > The patch provided does indeed fix the issue however I think that the
 line following the changed one must be changed too in order to set
 $font_spread to 0 (not 1) if the $font_spread is negative.

 That would work, although $font_spread only becomes negative when someone
 sets the smallest font greater than the larger font, hopefully pretty
 rare.

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


More information about the wp-trac mailing list