mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
This is only for use in the Network admin when it is always multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@16968 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ca8fa5e2bd
commit
8b2dc546cf
@ -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…
x
Reference in New Issue
Block a user