Make WordPress Core


Ignore:
Timestamp:
02/21/2006 06:11:46 AM (18 years ago)
Author:
ryan
Message:

Breakup post.php into post.php, comment.php, page.php, post-new.php

File:
1 edited

Legend:

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

    r3536 r3563  
    66// The URL of the item's file
    77$menu[0] = array(__('Dashboard'), 'read', 'index.php');
    8 $menu[5] = array(__('Write'), 'edit_posts', 'post.php');
     8$menu[5] = array(__('Write'), 'edit_posts', 'post-new.php');
    99$menu[10] = array(__('Manage'), 'edit_posts', 'edit.php');
    1010$menu[20] = array(__('Links'), 'manage_links', 'link-manager.php');
     
    1818$menu[45] = array(__('Import'), 'import', 'import.php');
    1919
    20 $submenu['post.php'][5] = array(__('Write Post'), 'edit_posts', 'post.php');
    21 $submenu['post.php'][10] = array(__('Write Page'), 'edit_pages', 'page-new.php');
     20$submenu['post-new.php'][5] = array(__('Write Post'), 'edit_posts', 'post-new.php');
     21$submenu['post-new.php'][10] = array(__('Write Page'), 'edit_pages', 'page-new.php');
    2222
    2323$submenu['edit.php'][5] = array(__('Posts'), 'edit_posts', 'edit.php');
Note: See TracChangeset for help on using the changeset viewer.