mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Use a create_users cap for Sites > Add New. fixes #14621.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
298bee314e
commit
b7392b4efd
@ -16,7 +16,7 @@ $menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' );
|
|||||||
$menu[5] = array(__('Sites'), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'div');
|
$menu[5] = array(__('Sites'), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'div');
|
||||||
|
|
||||||
$submenu['sites.php'][5] = array( __('Sites'), 'manage_sites', 'sites.php' );
|
$submenu['sites.php'][5] = array( __('Sites'), 'manage_sites', 'sites.php' );
|
||||||
$submenu['sites.php'][10] = array( __('Add New'), 'manage_sites', 'site-new.php' );
|
$submenu['sites.php'][10] = array( __('Add New'), 'create_sites', 'site-new.php' );
|
||||||
|
|
||||||
$menu[10] = array(__('Users'), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'div');
|
$menu[10] = array(__('Users'), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'div');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user