Changes in trunk/wp-includes/rss.php [17071:17928]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/rss.php
r17071 r17928 556 556 // Also note, WP_HTTP lowercases all keys, Snoopy did not. 557 557 $return_headers = array(); 558 foreach ( $resp['headers']as $key => $value ) {558 foreach ( wp_remote_retrieve_headers( $resp ) as $key => $value ) { 559 559 if ( !is_array($value) ) { 560 560 $return_headers[] = "$key: $value"; … … 566 566 567 567 $response = new stdClass; 568 $response->status = $resp['response']['code'];569 $response->response_code = $resp['response']['code'];568 $response->status = wp_remote_retrieve_response_code( $resp ); 569 $response->response_code = wp_remote_retrieve_response_code( $resp ); 570 570 $response->headers = $return_headers; 571 $response->results = $resp['body'];571 $response->results = wp_remote_retrieve_body( $resp ); 572 572 573 573 return $response;
Note: See TracChangeset
for help on using the changeset viewer.