WordPress.org

Make WordPress Core

Ticket #5131: category-template.php.diff.txt

File category-template.php.diff.txt, 795 bytes (added by webrocker, 8 years ago)
Line 
1Index: wp-includes/category-template.php
2===================================================================
3--- wp-includes/category-template.php   (revision 6179)
4+++ wp-includes/category-template.php   (working copy)
5@@ -376,7 +376,7 @@
6                $tag_id = $tag_ids[$tag];
7                $tag_link = clean_url($tag_links[$tag]);
8                $tag = str_replace(' ', ' ', wp_specialchars( $tag ));
9-               $a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . attribute_escape( sprintf( __('%d topics'), $count ) ) . "'$rel style='font-size: " .
10+               $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: " .
11                        ( $smallest + ( ( $count - $min_count ) * $font_step ) )
12                        . "$unit;'>$tag</a>";
13        }