WordPress.org

Make WordPress Core

Changeset 16103


Ignore:
Timestamp:
10/30/2010 02:31:13 PM (9 years ago)
Author:
nacin
Message:

Use a create_users cap for Sites > Add New. fixes #14621.

File:
1 edited

Legend:

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

    r15904 r16103  
    1717
    1818$submenu['sites.php'][5]  = array( __('Sites'), 'manage_sites', 'sites.php' );
    19 $submenu['sites.php'][10]  = array( __('Add New'), 'manage_sites', 'site-new.php' );
     19$submenu['sites.php'][10]  = array( __('Add New'), 'create_sites', 'site-new.php' );
    2020
    2121$menu[10] = array(__('Users'), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'div');
Note: See TracChangeset for help on using the changeset viewer.