Changeset 34639 for trunk/src/wp-includes/class-wp-http-curl.php
- Timestamp:
- 09/27/2015 09:37:00 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-http-curl.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-curl.php
r34585 r34639 134 134 curl_setopt( $handle, CURLOPT_SSL_VERIFYHOST, ( $ssl_verify === true ) ? 2 : false ); 135 135 curl_setopt( $handle, CURLOPT_SSL_VERIFYPEER, $ssl_verify ); 136 curl_setopt( $handle, CURLOPT_CAINFO, $r['sslcertificates'] ); 136 137 if ( $ssl_verify ) { 138 curl_setopt( $handle, CURLOPT_CAINFO, $r['sslcertificates'] ); 139 } 140 137 141 curl_setopt( $handle, CURLOPT_USERAGENT, $r['user-agent'] ); 138 142
Note: See TracChangeset
for help on using the changeset viewer.