diff --git a/src/wp-includes/class-http.php b/src/wp-includes/class-http.php index 1ebc62bb38..e86f3a4bff 100644 --- a/src/wp-includes/class-http.php +++ b/src/wp-includes/class-http.php @@ -790,7 +790,7 @@ class WP_Http_Streams { if ( false === $handle ) { // SSL connection failed due to expired/invalid cert, or, OpenSSL configuration is broken if ( $secure_transport && 0 === $connection_error && '' === $connection_error_str ) - return new WP_Error( 'http_request_failed', __( 'The SSL Certificate for the host could not be verified.' ) ); + return new WP_Error( 'http_request_failed', __( 'The SSL certificate for the host could not be verified.' ) ); return new WP_Error('http_request_failed', $connection_error . ': ' . $connection_error_str ); } @@ -798,7 +798,7 @@ class WP_Http_Streams { // Verify that the SSL certificate is valid for this request if ( $secure_transport && $ssl_verify && ! $proxy->is_enabled() ) { if ( ! self::verify_ssl_certificate( $handle, $arrURL['host'] ) ) - return new WP_Error( 'http_request_failed', __( 'The SSL Certificate for the host could not be verified.' ) ); + return new WP_Error( 'http_request_failed', __( 'The SSL certificate for the host could not be verified.' ) ); } stream_set_timeout( $handle, $timeout, $utimeout );