Make WordPress Core

Changeset 9047


Ignore:
Timestamp:
10/01/2008 09:04:14 PM (16 years ago)
Author:
ryan
Message:

Menu updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/menu.php

    r9043 r9047  
    2626
    2727$menu[5] = array( __('Posts'), 'edit_posts', 'post-new.php', 'wp-menu-open' );
    28     $submenu['post-new.php'][5]  = array( __('Write'), 'edit_posts', 'post-new.php' );
    29     $submenu['post-new.php'][10]  = array( __('Drafts'), 'edit_posts', 'edit-post-drafts.php' );
    30     $submenu['post-new.php'][15]  = array( __('View All'), 'edit_posts', 'edit.php' );
     28    $submenu['post-new.php'][5]  = array( __('Add New'), 'edit_posts', 'post-new.php' );
     29    //$submenu['post-new.php'][10]  = array( __('Drafts'), 'edit_posts', 'edit-post-drafts.php' );
     30    $submenu['post-new.php'][15]  = array( __('Edit'), 'edit_posts', 'edit.php' );
    3131    $submenu['post-new.php'][20] = array( __('Tags'), 'manage_categories', 'edit-tags.php' );
    3232    $submenu['post-new.php'][25] = array( __('Categories'), 'manage_categories', 'categories.php' );
    3333
    3434$menu[10] = array( __('Media'), 'upload_files', 'media-new.php' );
    35     $submenu['media-new.php'][5] = array( __('Upload New'), 'upload_files', 'media-new.php');
    36     $submenu['media-new.php'][10] = array( __('View All'), 'upload_files', 'upload.php');
     35    $submenu['media-new.php'][5] = array( __('Add New'), 'upload_files', 'media-new.php');
     36    $submenu['media-new.php'][10] = array( __('Edit'), 'upload_files', 'upload.php');
    3737
    3838$menu[15] = array( __('Links'), 'manage_links', 'link-add.php' );
    3939    $submenu['link-add.php'][5] = array( __('Add New'), 'manage_links', 'link-add.php' );
    40     $submenu['link-add.php'][10] = array( __('View All'), 'manage_links', 'link-manager.php' );
     40    $submenu['link-add.php'][10] = array( __('Edit'), 'manage_links', 'link-manager.php' );
    4141    $submenu['link-add.php'][15] = array( __('Link Categories'), 'manage_categories', 'edit-link-categories.php' );
    4242
    4343$menu[20] = array( __('Pages'), 'edit_pages', 'page-new.php' );
    44     $submenu['page-new.php'][5] = array( __('Write'), 'edit_pages', 'page-new.php' );
    45     $submenu['page-new.php'][10] = array( __('Drafts'), 'edit_pages', 'edit-page-drafts.php' );
    46     $submenu['page-new.php'][15] = array( __('View All'), 'edit_pages', 'edit-pages.php' );
     44    $submenu['page-new.php'][5] = array( __('Add New'), 'edit_pages', 'page-new.php' );
     45    //$submenu['page-new.php'][10] = array( __('Drafts'), 'edit_pages', 'edit-page-drafts.php' );
     46    $submenu['page-new.php'][15] = array( __('Edit'), 'edit_pages', 'edit-pages.php' );
    4747
    4848$menu[25] = array( __('Comments'), 'edit_posts', 'edit-comments.php' );
     49    $submenu['edit-comments.php'][15] = array( __('Moderate'), 'edit_posts', 'edit-comments.php' );
    4950
    5051$menu[30] = array( __('Appearance'), 'switch_themes', 'themes.php' );
     
    7172
    7273$menu[45] = array( __('Plugins'), 'activate_plugins', 'plugins.php' );
    73     $submenu['plugins.php'][5]  = array( __('Manage'), 'activate_plugins', 'plugins.php' );
     74    $submenu['plugins.php'][15] = array(__('Add New'), 'install_plugins', 'plugin-install.php');   
     75    $submenu['plugins.php'][5]  = array( __('Installed'), 'activate_plugins', 'plugins.php' );
    7476    $submenu['plugins.php'][10] = array( __('Editor'), 'edit_plugins', 'plugin-editor.php' );
    75     $submenu['plugins.php'][15] = array(__('Browse'), 'install_plugins', 'plugin-install.php');
     77   
    7678
    7779$menu[50] = array( __('Help'), 'read', 'dummy.php' );
Note: See TracChangeset for help on using the changeset viewer.