Use %s, not %d, for comment numbers in admin bar sprintf(). fixes #19104
git-svn-id: http://svn.automattic.com/wordpress/trunk@19103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e7dde2bc7f
commit
85e67b81cb
|
@ -551,7 +551,7 @@ function wp_admin_bar_comments_menu( $wp_admin_bar ) {
|
|||
$icon .= "</div>";
|
||||
|
||||
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
|
||||
$title = __('Comments');
|
||||
|
||||
|
|
Loading…
Reference in New Issue