mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-05 09:19:53 +08:00
Fixed: PHP error
This commit is contained in:
parent
351f3e00f9
commit
2e2d2baf01
1 changed files with 1 additions and 1 deletions
|
@ -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 ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue