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

git-svn-id: http://svn.automattic.com/wordpress/trunk@12960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-02-04 22:09:35 +00:00
parent 12038571e3
commit 7b81cdc30f
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');