number_format_i18n() for comments_number()

git-svn-id: https://develop.svn.wordpress.org/trunk@7910 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-05-08 17:54:40 +00:00
parent cc8227915b
commit 3fa0a54c74
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ function comments_number( $zero = false, $one = false, $more = false, $deprecate
$number = get_comments_number($id);
if ( $number > 1 )
$output = str_replace('%', $number, ( false === $more ) ? __('% Comments') : $more);
$output = str_replace('%', number_format_i18n($number), ( false === $more ) ? __('% Comments') : $more);
elseif ( $number == 0 )
$output = ( false === $zero ) ? __('No Comments') : $zero;
else // must be one