Changeset 25654 for trunk/src/wp-includes/class-http.php
- Timestamp:
- 10/02/2013 05:39:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-http.php
r25473 r25654 791 791 // SSL connection failed due to expired/invalid cert, or, OpenSSL configuration is broken 792 792 if ( $secure_transport && 0 === $connection_error && '' === $connection_error_str ) 793 return new WP_Error( 'http_request_failed', __( 'The SSL Certificate for the host could not be verified.' ) );793 return new WP_Error( 'http_request_failed', __( 'The SSL certificate for the host could not be verified.' ) ); 794 794 795 795 return new WP_Error('http_request_failed', $connection_error . ': ' . $connection_error_str ); … … 799 799 if ( $secure_transport && $ssl_verify && ! $proxy->is_enabled() ) { 800 800 if ( ! self::verify_ssl_certificate( $handle, $arrURL['host'] ) ) 801 return new WP_Error( 'http_request_failed', __( 'The SSL Certificate for the host could not be verified.' ) );801 return new WP_Error( 'http_request_failed', __( 'The SSL certificate for the host could not be verified.' ) ); 802 802 } 803 803
Note: See TracChangeset
for help on using the changeset viewer.