Changeset 17616
- Timestamp:
- 04/07/2011 08:38:36 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r17600 r17616 1191 1191 curl_setopt( $handle, CURLOPT_URL, $url); 1192 1192 curl_setopt( $handle, CURLOPT_RETURNTRANSFER, true ); 1193 curl_setopt( $handle, CURLOPT_SSL_VERIFYHOST, $ssl_verify);1193 curl_setopt( $handle, CURLOPT_SSL_VERIFYHOST, ( $ssl_verify === true ) ? 2 : false ); 1194 1194 curl_setopt( $handle, CURLOPT_SSL_VERIFYPEER, $ssl_verify ); 1195 1195 curl_setopt( $handle, CURLOPT_USERAGENT, $r['user-agent'] );
Note: See TracChangeset
for help on using the changeset viewer.