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

git-svn-id: https://develop.svn.wordpress.org/trunk@4694 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-01-07 09:02:11 +00:00
parent c1cc3d6dc7
commit 9d80a01cf6
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ else
$menu[40] = array(__('Options'), 'manage_options', 'options-general.php');
$_wp_real_parent_file['post.php'] = 'post-new.php'; // Back-compat
$submenu['post-new.php'][5] = array(__('Write Post'), 'edit_posts', 'post-new.php');
$submenu['post-new.php'][10] = array(__('Write Page'), 'edit_pages', 'page-new.php');