Index: src/wp-admin/includes/class-wp-site-health.php
===================================================================
--- src/wp-admin/includes/class-wp-site-health.php	(revision 45323)
+++ src/wp-admin/includes/class-wp-site-health.php	(working copy)
@@ -1574,13 +1574,9 @@
 			'test'        => 'http_requests',
 		);
 
-		$blocked = false;
+		$blocked = defined( 'WP_HTTP_BLOCK_EXTERNAL' ) && WP_HTTP_BLOCK_EXTERNAL;
 		$hosts   = array();
 
-		if ( defined( 'WP_HTTP_BLOCK_EXTERNAL' ) ) {
-			$blocked = true;
-		}
-
 		if ( defined( 'WP_ACCESSIBLE_HOSTS' ) ) {
 			$hosts = explode( ',', WP_ACCESSIBLE_HOSTS );
 		}
