From a25b5ddc099d7c8e4643d602395974866b6d99a1 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 30 Sep 2008 00:27:27 +0000 Subject: [PATCH] media-new.php to make menus happy git-svn-id: http://svn.automattic.com/wordpress/trunk@9035 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/media-new.php | 7 +++++++ wp-admin/menu.php | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 wp-admin/media-new.php diff --git a/wp-admin/media-new.php b/wp-admin/media-new.php new file mode 100644 index 0000000000..da68b582f4 --- /dev/null +++ b/wp-admin/media-new.php @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/wp-admin/menu.php b/wp-admin/menu.php index d32a874838..91e0eb9c37 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -31,9 +31,9 @@ $menu[5] = array( __('Posts'), 'edit_posts', 'post-new.php', 'wp-menu-open' ); $submenu['post-new.php'][20] = array( __('Tags'), 'manage_categories', 'edit-tags.php' ); $submenu['post-new.php'][25] = array( __('Categories'), 'manage_categories', 'categories.php' ); -$menu[10] = array( __('Media'), 'upload_files', 'media-upload.php' ); - $submenu['media-upload.php'][5] = array( __('Upload New'), 'upload_files', 'media-upload.php?inline'); - $submenu['media-upload.php'][10] = array( __('View All'), 'upload_files', 'upload.php'); +$menu[10] = array( __('Media'), 'upload_files', 'media-new.php' ); + $submenu['media-new.php'][5] = array( __('Upload New'), 'upload_files', 'media-new.php'); + $submenu['media-new.php'][10] = array( __('View All'), 'upload_files', 'upload.php'); $menu[15] = array( __('Links'), 'manage_links', 'link-add.php' ); $submenu['link-add.php'][5] = array( __('Add New'), 'manage_links', 'link-add.php' );