Make WordPress Core

Ticket #6624: category-template.diff

File category-template.diff, 783 bytes (added by johnhennmacc, 16 years ago)
  • category-template.php

     
    413413                $tag_id = $tag_ids[$tag];
    414414                $tag_link = clean_url($tag_links[$tag]);
    415415                $tag = str_replace(' ', ' ', wp_specialchars( $tag ));
    416                 $a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . attribute_escape( sprintf( __ngettext('%d topic','%d topics',$count), $count ) ) . "'$rel style='font-size: " .
     416                $a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . attribute_escape( sprintf( __ngettext('%d post','%d posts',$count), $count ) ) . "'$rel style='font-size: " .
    417417                        ( $smallest + ( ( $count - $min_count ) * $font_step ) )
    418418                        . "$unit;'>$tag</a>";
    419419        }