Use %s, not %d, for comment numbers in admin bar sprintf(). fixes #19104
git-svn-id: https://develop.svn.wordpress.org/trunk@19103 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c8ae4ba953
commit
4b4c1bed52
@ -551,7 +551,7 @@ function wp_admin_bar_comments_menu( $wp_admin_bar ) {
|
|||||||
$icon .= "</div>";
|
$icon .= "</div>";
|
||||||
|
|
||||||
if ( $awaiting_mod )
|
if ( $awaiting_mod )
|
||||||
$title = sprintf( _n('%d Comment', '%d Comments', $awaiting_mod ), number_format_i18n( $awaiting_mod ) );
|
$title = sprintf( _n('%s Comment', '%s Comments', $awaiting_mod ), number_format_i18n( $awaiting_mod ) );
|
||||||
else
|
else
|
||||||
$title = __('Comments');
|
$title = __('Comments');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user