Changeset 17597 for trunk/wp-includes/class-http.php
- Timestamp:
- 04/05/2011 04:06:40 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r17566 r17597 715 715 716 716 $arrHeaders = WP_Http::processHeaders( $process['headers'] ); 717 718 // Is the response code within the 400 range?719 if ( (int) $arrHeaders['response']['code'] >= 400 && (int) $arrHeaders['response']['code'] < 500 )720 return new WP_Error('http_request_failed', $arrHeaders['response']['code'] . ': ' . $arrHeaders['response']['message']);721 717 722 718 // If location is found, then assume redirect and redirect to location.
Note: See TracChangeset
for help on using the changeset viewer.