Changeset 16184
- Timestamp:
- 11/04/2010 04:27:18 PM (14 years ago)
- Location:
- trunk/wp-admin/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network/menu.php
r16183 r16184 20 20 $menu[10] = array(__('Users'), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'div'); 21 21 $submenu['users.php'][5] = array( __('Users'), 'manage_network_users', 'users.php' ); 22 $submenu['users.php'][10] = array( __('Add New'), ' manage_network_users', 'user-new.php' );22 $submenu['users.php'][10] = array( __('Add New'), 'create_users', 'user-new.php' ); 23 23 24 24 $menu[15] = array(__('Themes'), 'manage_network_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div'); -
trunk/wp-admin/network/user-new.php
r16183 r16184 15 15 wp_die( __( 'Multisite support is not enabled.' ) ); 16 16 17 if ( ! current_user_can(' manage_network_users') )17 if ( ! current_user_can('create_users') ) 18 18 wp_die(__('You do not have sufficient permissions to add users to this network.')); 19 19
Note: See TracChangeset
for help on using the changeset viewer.