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:
parent
cc8227915b
commit
3fa0a54c74
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user