This commit is contained in:
Alex Kirk 2022-11-09 07:27:50 -07:00
parent 568b258c77
commit 3def583269

View file

@ -224,7 +224,7 @@ class Health_Check {
), ),
); );
$message = null; $message = null;
if ( isset( $messages[ $url->get_error_code() ] ) ) { if ( isset( $health_messages[ $url->get_error_code() ] ) ) {
$message = $health_messages[ $url->get_error_code() ]; $message = $health_messages[ $url->get_error_code() ];
} }
return new \WP_Error( return new \WP_Error(