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

Built from https://develop.svn.wordpress.org/trunk@27329


git-svn-id: http://core.svn.wordpress.org/trunk@27181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2014-02-28 21:48:13 +00:00
parent e92770ba93
commit 412ea898c0
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";
}
}