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:
parent
0ddd511f36
commit
2abe38c548
|
@ -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