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

git-svn-id: http://svn.automattic.com/wordpress/trunk@4694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-01-07 09:02:11 +00:00
parent 874234dc6f
commit e2412eaaf2
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');