Use sentence case.
Built from https://develop.svn.wordpress.org/trunk@25654 git-svn-id: http://core.svn.wordpress.org/trunk@25571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8bda461ca9
commit
d35284e08a
|
@ -790,7 +790,7 @@ class WP_Http_Streams {
|
||||||
if ( false === $handle ) {
|
if ( false === $handle ) {
|
||||||
// SSL connection failed due to expired/invalid cert, or, OpenSSL configuration is broken
|
// SSL connection failed due to expired/invalid cert, or, OpenSSL configuration is broken
|
||||||
if ( $secure_transport && 0 === $connection_error && '' === $connection_error_str )
|
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 );
|
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
|
// Verify that the SSL certificate is valid for this request
|
||||||
if ( $secure_transport && $ssl_verify && ! $proxy->is_enabled() ) {
|
if ( $secure_transport && $ssl_verify && ! $proxy->is_enabled() ) {
|
||||||
if ( ! self::verify_ssl_certificate( $handle, $arrURL['host'] ) )
|
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 );
|
stream_set_timeout( $handle, $timeout, $utimeout );
|
||||||
|
|
Loading…
Reference in New Issue