Fix comments links. Props PeteMall. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16082 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e33e94e28d
commit
59a291483f
|
@ -227,7 +227,7 @@ function wp_admin_bar_comments_menu() {
|
|||
$awaiting_mod = $awaiting_mod->moderated;
|
||||
|
||||
// @todo styling for awaiting mod count. Don't show count if zero?
|
||||
$wp_admin_bar->add_menu( array( 'id' => 'comments', 'title' => sprintf( __('Comments %s'), "<span id='awaiting-mod' class='count-$awaiting_mod'><span class='pending-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'href' => admin_url('comments.php') ) );
|
||||
$wp_admin_bar->add_menu( array( 'id' => 'comments', 'title' => sprintf( __('Comments %s'), "<span id='awaiting-mod' class='count-$awaiting_mod'><span class='pending-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'href' => admin_url('edit-comments.php') ) );
|
||||
}
|
||||
|
||||
function wp_admin_bar_appearance_menu() {
|
||||
|
|
Loading…
Reference in New Issue