From 59a291483f10c0dd4d833c1a80b5fe45bdb7990d Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 29 Oct 2010 16:50:21 +0000 Subject: [PATCH] Fix comments links. Props PeteMall. see #14772 git-svn-id: https://develop.svn.wordpress.org/trunk@16082 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/admin-bar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index 0745a4835c..cfaf64c5f6 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -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'), "" . number_format_i18n($awaiting_mod) . "" ), 'href' => admin_url('comments.php') ) ); + $wp_admin_bar->add_menu( array( 'id' => 'comments', 'title' => sprintf( __('Comments %s'), "" . number_format_i18n($awaiting_mod) . "" ), 'href' => admin_url('edit-comments.php') ) ); } function wp_admin_bar_appearance_menu() {