WordPress.org

Make WordPress Core

Ticket #21198: 21198.patch

File 21198.patch, 866 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-includes/category-template.php

     
    671671                $tag_link = '#' != $tag->link ? esc_url( $tag->link ) : '#';
    672672                $tag_id = isset($tags[ $key ]->id) ? $tags[ $key ]->id : $key;
    673673                $tag_name = $tags[ $key ]->name;
    674                 $a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . esc_attr( call_user_func( $topic_count_text_callback, $real_count ) ) . "' style='font-size: " .
     674                $a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . esc_attr( call_user_func( $topic_count_text_callback, $real_count, $tag_id ) ) . "' style='font-size: " .
    675675                        str_replace( ',', '.', ( $smallest + ( ( $count - $min_count ) * $font_step ) ) )
    676676                        . "$unit;'>$tag_name</a>";
    677677        }