mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Honor largest and smallest options when they are the same. Props scohoust. fixes #7504
git-svn-id: https://develop.svn.wordpress.org/trunk@9952 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -675,7 +675,7 @@ function wp_generate_tag_cloud( $tags, $args = '' ) {
|
||||
if ( $spread <= 0 )
|
||||
$spread = 1;
|
||||
$font_spread = $largest - $smallest;
|
||||
if ( $font_spread <= 0 )
|
||||
if ( $font_spread < 0 )
|
||||
$font_spread = 1;
|
||||
$font_step = $font_spread / $spread;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user