Changeset 46218
- Timestamp:
- 09/20/2019 10:22:38 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-curl.php
r45932 r46218 144 144 */ 145 145 curl_setopt( $handle, CURLOPT_FOLLOWLOCATION, false ); 146 if ( defined( 'CURLOPT_PROTOCOLS' ) ) { // PHP 5.2.10 / cURL 7.19.4 147 curl_setopt( $handle, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS ); 148 } 146 curl_setopt( $handle, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS ); 149 147 150 148 switch ( $parsed_args['method'] ) {
Note: See TracChangeset
for help on using the changeset viewer.