mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Remove moderation.php. edit-comments.php now handles moderation
git-svn-id: https://develop.svn.wordpress.org/trunk@7019 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -31,9 +31,6 @@ $submenu['post-new.php'][10] = array(__('Page'), 'edit_pages', 'page-new.php');
|
||||
$submenu['post-new.php'][15] = array(__('Link'), 'manage_links', 'link-add.php');
|
||||
|
||||
$submenu['edit-comments.php'][5] = array(__('Comments'), 'edit_posts', 'edit-comments.php');
|
||||
$awaiting_mod = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '0'");
|
||||
$submenu['edit-comments.php'][25] = array(sprintf(__("Awaiting Moderation (%s)"), "<span id='awaitmod' class='comment-count'><span>$awaiting_mod</span></span>"), 'edit_posts', 'moderation.php');
|
||||
|
||||
|
||||
$submenu['edit.php'][5] = array(__('Posts'), 'edit_posts', 'edit.php');
|
||||
$submenu['edit.php'][10] = array(__('Pages'), 'edit_pages', 'edit-pages.php');
|
||||
|
||||
Reference in New Issue
Block a user