This is only for use in the Network admin when it is always multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dd86bd529f
commit
527a1381d6
|
@ -9,9 +9,6 @@
|
|||
class WP_MS_Users_List_Table extends WP_List_Table {
|
||||
|
||||
function check_permissions() {
|
||||
if ( !is_multisite() )
|
||||
wp_die( __( 'Multisite support is not enabled.' ) );
|
||||
|
||||
if ( ! current_user_can( 'manage_network_users' ) )
|
||||
wp_die( __( 'You do not have permission to access this page.' ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue