From 68741b4de7c01294d9c486795aff2e3a577cca66 Mon Sep 17 00:00:00 2001 From: dd32 Date: Thu, 4 Mar 2010 12:25:38 +0000 Subject: [PATCH] Remove the now defunct Add New Themes menu item accidentally re-added in [13582]. See #12442 git-svn-id: http://svn.automattic.com/wordpress/trunk@13583 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/menu.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index f164e2fd8..7ff2787cd 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -108,12 +108,11 @@ $menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-to $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); $submenu['themes.php'][10] = array(__('Menus'), 'switch_themes', 'nav-menus.php'); -// Add 'Add New Themes' and 'Editor' to the bottom of the Appearence menu. +// Add 'Editor' to the bottom of the Appearence menu. add_action('admin_menu', '_add_themes_utility_last', 101); function _add_themes_utility_last() { global $submenu; $submenu['themes.php'][] = array(_x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php'); - $submenu['themes.php'][] = array(__('Add New Themes'), 'install_themes', 'theme-install.php'); } $update_plugins = get_site_transient( 'update_plugins' );