mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user