From e5bab2081b5228cf7cb3138927c932345b5aa30e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 20 Oct 2008 19:39:08 +0000 Subject: [PATCH] Bring back awaiting moderation comment count. Needs styling. git-svn-id: https://develop.svn.wordpress.org/trunk@9256 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index cfb6b7fc27..cfee81cdf0 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -50,7 +50,7 @@ $menu[20] = array( __('Pages'), 'edit_pages', 'page-new.php', '', '', 'menu-page //$submenu['page-new.php'][10] = array( __('Drafts'), 'edit_pages', 'edit-page-drafts.php' ); $submenu['page-new.php'][15] = array( __('Edit'), 'edit_pages', 'edit-pages.php' ); -$menu[25] = array( __('Comments'), 'edit_posts', 'edit-comments.php', '', '', 'menu-comments', 'images/menu/comments.png' ); +$menu[25] = array( sprintf( __('Comments %s'), "" . number_format_i18n($awaiting_mod) . "" ), 'edit_posts', 'edit-comments.php', '', '', 'menu-comments', 'images/menu/comments.png' ); $submenu['edit-comments.php'][15] = array( __('Comments'), 'edit_posts', 'edit-comments.php' ); $menu[29] = array( '', 'read', '', '', 'wp-menu-separator' );