WordPress.org

Make WordPress Core

Ticket #6177: remove-unneeded-submenu-comment-link.diff

File remove-unneeded-submenu-comment-link.diff, 690 bytes (added by spencerp, 10 years ago)
  • wp-admin/menu.php

     
    3030$submenu['post-new.php'][10] = array(__('Page'), 'edit_pages', 'page-new.php');
    3131$submenu['post-new.php'][15] = array(__('Link'), 'manage_links', 'link-add.php');
    3232
    33 $submenu['edit-comments.php'][5] = array(__('Comments'), 'edit_posts', 'edit-comments.php');
    34 
    3533$submenu['edit.php'][5] = array(__('Posts'), 'edit_posts', 'edit.php');
    3634$submenu['edit.php'][10] = array(__('Pages'), 'edit_pages', 'edit-pages.php');
    3735$submenu['edit.php'][15] = array(__('Links'), 'manage_links', 'link-manager.php');