From 3def5832697fedc8ab72b5bd902767d5b102acf6 Mon Sep 17 00:00:00 2001 From: Alex Kirk Date: Wed, 9 Nov 2022 07:27:50 -0700 Subject: [PATCH] typo --- includes/class-health-check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-health-check.php b/includes/class-health-check.php index bdc3b0b..8989c2f 100644 --- a/includes/class-health-check.php +++ b/includes/class-health-check.php @@ -224,7 +224,7 @@ class Health_Check { ), ); $message = null; - if ( isset( $messages[ $url->get_error_code() ] ) ) { + if ( isset( $health_messages[ $url->get_error_code() ] ) ) { $message = $health_messages[ $url->get_error_code() ]; } return new \WP_Error(