Update real parent file back compat for pages menus. see #9674

git-svn-id: https://develop.svn.wordpress.org/trunk@12960 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-02-04 22:09:35 +00:00
parent 94762869e2
commit e96e6f0d8c
1 changed files with 2 additions and 1 deletions

View File

@ -168,7 +168,8 @@ $menu[99] = array( '', 'read', 'separator-last', '', 'wp-menu-separator-last' );
// Back-compat for old top-levels
$_wp_real_parent_file['post.php'] = 'edit.php';
$_wp_real_parent_file['post-new.php'] = 'edit.php';
$_wp_real_parent_file['page-new.php'] = 'edit-pages.php';
$_wp_real_parent_file['edit-pages.php'] = 'edit.php?post_type=page';
$_wp_real_parent_file['page-new.php'] = 'edit.php?post_type=page';
$_wp_real_parent_file['wpmu-admin.php'] = 'ms-admin.php';
do_action('_admin_menu');