moderation.php is no more. All hail edit-comments.php?comment_status=moderated

git-svn-id: https://develop.svn.wordpress.org/trunk@7391 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2008-03-18 23:24:04 +00:00
parent 4cb0201ce8
commit 8b6ba65861
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ function wp_dashboard_setup() {
// Recent Comments Widget
if ( current_user_can( 'moderate_comments' ) && $mod_comments = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '0'") ) {
$notice = sprintf( __ngettext( '%d comment awaiting moderation', '%d comments awaiting moderation', $mod_comments ), $mod_comments );
$notice = "<a href='moderation.php'>$notice</a>";
$notice = "<a href='edit-comments.php?comment_status=moderated'>$notice</a>";
} else {
$notice = '';
}