Changeset 8534
- Timestamp:
- 08/04/2008 05:03:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/http.php
r8533 r8534 863 863 curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, 1 ); 864 864 curl_setopt( $handle, CURLOPT_TIMEOUT, $r['timeout'] ); 865 curl_setopt( $handle, CURLOPT_FOLLOWLOCATION, true );866 865 curl_setopt( $handle, CURLOPT_MAXREDIRS, $r['redirection'] ); 867 866 867 if ( !ini_get('safe_mode') && !ini_get('open_basedir') ) 868 curl_setopt( $handle, CURLOPT_FOLLOWLOCATION, true ); 869 868 870 if( ! is_null($headers) ) 869 871 curl_setopt( $handle, CURLOPT_HTTPHEADER, $headers );
Note: See TracChangeset
for help on using the changeset viewer.