From 2e2d2baf01186596887f1cd8ad5a966360c9b03f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogdan=20Rapai=C4=87?= Date: Wed, 22 Apr 2020 18:41:51 +0200 Subject: [PATCH] Fixed: PHP error --- class/class-mainwp-child-server-information.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/class-mainwp-child-server-information.php b/class/class-mainwp-child-server-information.php index 4126c6d..e13ef79 100644 --- a/class/class-mainwp-child-server-information.php +++ b/class/class-mainwp-child-server-information.php @@ -1303,7 +1303,7 @@ class MainWP_Child_Server_Information { } else { $response_body = wp_remote_retrieve_body( $response ); if ( false === strstr( $response_body, 'MainWP Test' ) ) { - $test_result .= sprintf( __( 'Not expected HTTP response body: %s', 'mainwp-child' ), esc_attr( wp_strip_tags( $response_body ) ) ); + $test_result .= sprintf( __( 'Not expected HTTP response body: %s', 'mainwp-child' ), esc_attr( wp_strip_all_tags( $response_body ) ) ); } } if ( empty( $test_result ) ) {