From e2412eaaf2611bfe698422cae4d8af49776feddc Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 7 Jan 2007 09:02:11 +0000 Subject: [PATCH] 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 --- wp-admin/menu.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index cae88a9136..b18ac28379 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -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');