diff --git a/src/wp-admin/includes/ms.php b/src/wp-admin/includes/ms.php index 625add8790a09..be87d05aead58 100644 --- a/src/wp-admin/includes/ms.php +++ b/src/wp-admin/includes/ms.php @@ -614,11 +614,7 @@ function _access_denied_splash() { * @return bool True if the user has proper permissions, false if they do not. */ function check_import_new_users( $permission ) { - if ( ! current_user_can( 'manage_network_users' ) ) { - return false; - } - - return true; + return current_user_can( 'manage_network_users' ); } // See "import_allow_fetch_attachments" and "import_attachment_size_limit" filters too.