Ticket #11763: 11763.diff
File 11763.diff, 686 bytes (added by , 15 years ago) |
---|
-
wp-admin/menu.php
101 101 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 102 102 if ( !is_multisite() ) 103 103 $submenu['themes.php'][10] = array(__('Editor'), 'edit_themes', 'theme-editor.php'); 104 $submenu['themes.php'][15] = array(__('Add New Themes'), 'install_themes', 'theme-install.php'); 104 if ( is_super_admin() ) 105 $submenu['themes.php'][15] = array(__('Add New Themes'), 'install_themes', 'theme-install.php'); 105 106 106 107 $update_plugins = get_transient( 'update_plugins' ); 107 108 $update_count = 0;