Changeset 23609
- Timestamp:
- 03/04/2013 05:40:43 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/class-http.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r23608 r23609 1176 1176 if ( isset( $r['limit-response-size'] ) ) 1177 1177 $this->max_body_length = intval( $r['limit-response-size'] ); 1178 else 1179 $this->max_body_length = false; 1178 1180 1179 1181 // If streaming to a file open a file handle, and setup our curl streaming handler … … 1185 1187 if ( ! $this->stream_handle ) 1186 1188 return new WP_Error( 'http_request_failed', sprintf( __( 'Could not open handle for fopen() to %s' ), $r['filename'] ) ); 1189 } else { 1190 $this->stream_handle = false; 1187 1191 } 1188 1192
Note: See TracChangeset
for help on using the changeset viewer.