WordPress.org

Make WordPress Core

Changeset 4694


Ignore:
Timestamp:
01/07/07 09:02:11 (7 years ago)
Author:
ryan
Message:

Allow adding submenus to post.php for back-compat. fixes #3501

File:
1 edited

Legend:

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

    r4495 r4694  
    2727 
    2828 
     29$_wp_real_parent_file['post.php'] = 'post-new.php'; // Back-compat 
    2930$submenu['post-new.php'][5] = array(__('Write Post'), 'edit_posts', 'post-new.php'); 
    3031$submenu['post-new.php'][10] = array(__('Write Page'), 'edit_pages', 'page-new.php'); 
Note: See TracChangeset for help on using the changeset viewer.