From 3bcd105f0ee5dd8e4632e2ebf30430765be932ca Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 20 Oct 2008 19:39:08 +0000 Subject: [PATCH] Bring back awaiting moderation comment count. Needs styling. git-svn-id: http://svn.automattic.com/wordpress/trunk@9256 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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' );