Changeset 19593 for trunk/wp-includes/class-http.php
- Timestamp:
- 12/13/2011 11:45:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r19094 r19593 202 202 * @param string $url URL to Request 203 203 * 204 * @return string|false Class name for the first transport that claims to support the request. 204 * @return string|false Class name for the first transport that claims to support the request. False if no transport claims to support the request. 205 205 */ 206 206 public function _get_first_available_transport( $args, $url = null ) { … … 1032 1032 1033 1033 1034 // CURLOPT_TIMEOUT and CURLOPT_CONNECTTIMEOUT expect integers. 1034 // CURLOPT_TIMEOUT and CURLOPT_CONNECTTIMEOUT expect integers. Have to use ceil since 1035 1035 // a value of 0 will allow an unlimited timeout. 1036 1036 $timeout = (int) ceil( $r['timeout'] );
Note: See TracChangeset
for help on using the changeset viewer.