Make WordPress Core


Ignore:
Timestamp:
11/04/2010 04:27:18 PM (14 years ago)
Author:
ryan
Message:

Check create_users cap. see #14435

File:
1 edited

Legend:

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

    r16183 r16184  
    1515    wp_die( __( 'Multisite support is not enabled.' ) );
    1616
    17 if ( ! current_user_can('manage_network_users') )
     17if ( ! current_user_can('create_users') )
    1818    wp_die(__('You do not have sufficient permissions to add users to this network.'));
    1919
Note: See TracChangeset for help on using the changeset viewer.