Make WordPress Core


Ignore:
Timestamp:
10/21/2010 05:06:52 PM (14 years ago)
Author:
nacin
Message:

Network admin theme install. props PeteMall, fixes #15184.

File:
1 edited

Legend:

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

    r15886 r15898  
    2020
    2121$menu[10] = array(__('Users'), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'div');
     22
    2223$menu[15] = array(__('Themes'), 'manage_network_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div');
     24$submenu['themes.php'][5]  = array( __('Themes'), 'manage_network_themes', 'themes.php' );
     25$submenu['themes.php'][10] = array( _x('Add New', 'theme'), 'manage_network_themes', 'theme-install.php' );
     26$submenu['themes.php'][15] = array( _x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php' );
    2327
    2428$plugin_update_count = $theme_update_count = $wordpress_update_count = 0;
     
    6064$menu[99] = array( '', 'read', 'separator-last', '', 'wp-menu-separator-last' );
    6165
    62 $submenu['themes.php'][5]  = array( __('Themes'), 'manage_network_themes', 'themes.php' );
    63 $submenu['themes.php'][15] = array( _x('Editor', 'plugin editor'), 'edit_themes', 'theme-editor.php' );
    64 
    6566require_once(ABSPATH . 'wp-admin/includes/menu.php');
    6667
Note: See TracChangeset for help on using the changeset viewer.