WordPress.org

Make WordPress Core

Changeset 13583


Ignore:
Timestamp:
03/04/2010 12:25:38 PM (8 years ago)
Author:
dd32
Message:

Remove the now defunct Add New Themes menu item accidentally re-added in [13582]. See #12442

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/menu.php

    r13582 r13583  
    109109    $submenu['themes.php'][10] = array(__('Menus'), 'switch_themes', 'nav-menus.php');
    110110
    111 // Add 'Add New Themes' and 'Editor' to the bottom of the Appearence menu.
     111// Add 'Editor' to the bottom of the Appearence menu.
    112112add_action('admin_menu', '_add_themes_utility_last', 101);
    113113function _add_themes_utility_last() {
    114114    global $submenu;
    115115    $submenu['themes.php'][] = array(_x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php');
    116     $submenu['themes.php'][] = array(__('Add New Themes'), 'install_themes', 'theme-install.php');
    117116}
    118117
Note: See TracChangeset for help on using the changeset viewer.