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:
Pete Mall 2010-12-15 19:11:55 +00:00
parent ca8fa5e2bd
commit 8b2dc546cf
1 changed files with 0 additions and 3 deletions

View File

@ -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.' ) );
}