Use sentence case.
git-svn-id: https://develop.svn.wordpress.org/trunk@25654 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7e18d18db5
commit
456b8837f2
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user