Add some missing number i18n in `Walker_Category` and `Walker_CategoryDropdown`. Fixes #22745.

git-svn-id: https://develop.svn.wordpress.org/trunk@27329 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2014-02-28 21:47:53 +00:00
parent 07f14d6434
commit 6def67ad04
1 changed files with 2 additions and 2 deletions

View File

@ -889,7 +889,7 @@ class Walker_Category extends Walker {
}
if ( !empty($show_count) )
$link .= ' (' . intval($category->count) . ')';
$link .= ' (' . number_format_i18n( $category->count ) . ')';
if ( 'list' == $args['style'] ) {
$output .= "\t<li";
@ -973,7 +973,7 @@ class Walker_CategoryDropdown extends Walker {
$output .= '>';
$output .= $pad.$cat_name;
if ( $args['show_count'] )
$output .= '&nbsp;&nbsp;('. $category->count .')';
$output .= '&nbsp;&nbsp;('. number_format_i18n( $category->count ) .')';
$output .= "</option>\n";
}
}