number_format_i18n() for comments_number()

git-svn-id: http://svn.automattic.com/wordpress/trunk@7910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-05-08 17:54:40 +00:00
parent 0ddd511f36
commit 2abe38c548
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); $number = get_comments_number($id);
if ( $number > 1 ) 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 ) elseif ( $number == 0 )
$output = ( false === $zero ) ? __('No Comments') : $zero; $output = ( false === $zero ) ? __('No Comments') : $zero;
else // must be one else // must be one