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:
parent
94762869e2
commit
e96e6f0d8c
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue