WordPress.org

Make WordPress Core

Ticket #14577: 14577.diff

File 14577.diff, 676 bytes (added by wojtek.szkutnik, 4 years ago)
  • wp-includes/category-template.php

     
    713713                $tag_id = isset($tags[ $key ]->id) ? $tags[ $key ]->id : $key; 
    714714                $tag_name = $tags[ $key ]->name; 
    715715                $a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . esc_attr( $topic_count_text_callback( $real_count ) ) . "' style='font-size: " . 
    716                         ( $smallest + ( ( $count - $min_count ) * $font_step ) ) 
     716                        number_format( $smallest + ( ( $count - $min_count ) * $font_step ) , 4, '.', '') 
    717717                        . "$unit;'>$tag_name</a>"; 
    718718        } 
    719719