From 2abe38c548d9b231aa3cf854d678499b58b42189 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 8 May 2008 17:54:40 +0000 Subject: [PATCH] number_format_i18n() for comments_number() git-svn-id: http://svn.automattic.com/wordpress/trunk@7910 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 6e2ec62dcd..334f5ed4b5 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -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