Close a quote. see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
898e58d568
commit
13a9058319
|
@ -221,7 +221,7 @@ function wp_admin_bar_comments_menu() {
|
||||||
$awaiting_mod = wp_count_comments();
|
$awaiting_mod = wp_count_comments();
|
||||||
$awaiting_mod = $awaiting_mod->moderated;
|
$awaiting_mod = $awaiting_mod->moderated;
|
||||||
|
|
||||||
$awaiting_mod = $awaiting_mod ? "<span id='ab-awaiting-mod'><span class='pending-count>" . number_format_i18n( $awaiting_mod ) . "</span></span>" : '';
|
$awaiting_mod = $awaiting_mod ? "<span id='ab-awaiting-mod'><span class='pending-count'>" . number_format_i18n( $awaiting_mod ) . "</span></span>" : '';
|
||||||
$wp_admin_bar->add_menu( array( 'id' => 'comments', 'title' => sprintf( __('Comments %s'), $awaiting_mod ), 'href' => admin_url('edit-comments.php') ) );
|
$wp_admin_bar->add_menu( array( 'id' => 'comments', 'title' => sprintf( __('Comments %s'), $awaiting_mod ), 'href' => admin_url('edit-comments.php') ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue