From c8a361712b5c03a2fd7b01c0c29e141195a6584f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 10 Feb 2015 05:44:21 +0000 Subject: [PATCH] Switch to a string placeholder, as `number_format_i18n()` returns a string. see #26553. git-svn-id: https://develop.svn.wordpress.org/trunk@31402 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php index 355288834f..235b54109c 100644 --- a/src/wp-includes/comment-template.php +++ b/src/wp-includes/comment-template.php @@ -1290,7 +1290,7 @@ function comments_popup_link( $zero = false, $one = false, $more = false, $css_c } if ( false === $more ) { /* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag, 4: number of comments */ - $more = sprintf( _n( '%4$d Comment%1$s on %2$s%3$s', '%4$d Comments%1$s on %2$s%3$s', $number ), + $more = sprintf( _n( '%4$s Comment%1$s on %2$s%3$s', '%4$s Comments%1$s on %2$s%3$s', $number ), $span, $title, $span_close, number_format_i18n( $number ) ); }