Changeset 28257 for trunk/src/wp-includes/http.php
- Timestamp:
- 05/05/2014 06:45:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/http.php
r27953 r28257 220 220 * @return array The headers of the response. Empty array if incorrect parameter given. 221 221 */ 222 function wp_remote_retrieve_headers( &$response) {222 function wp_remote_retrieve_headers( $response ) { 223 223 if ( is_wp_error($response) || ! isset($response['headers']) || ! is_array($response['headers'])) 224 224 return array(); … … 236 236 * @return string The header value. Empty string on if incorrect parameter given, or if the header doesn't exist. 237 237 */ 238 function wp_remote_retrieve_header( &$response, $header) {238 function wp_remote_retrieve_header( $response, $header ) { 239 239 if ( is_wp_error($response) || ! isset($response['headers']) || ! is_array($response['headers'])) 240 240 return ''; … … 256 256 * @return string the response code. Empty string on incorrect parameter given. 257 257 */ 258 function wp_remote_retrieve_response_code( &$response) {258 function wp_remote_retrieve_response_code( $response ) { 259 259 if ( is_wp_error($response) || ! isset($response['response']) || ! is_array($response['response'])) 260 260 return ''; … … 273 273 * @return string The response message. Empty string on incorrect parameter given. 274 274 */ 275 function wp_remote_retrieve_response_message( &$response) {275 function wp_remote_retrieve_response_message( $response ) { 276 276 if ( is_wp_error($response) || ! isset($response['response']) || ! is_array($response['response'])) 277 277 return ''; … … 288 288 * @return string The body of the response. Empty string if no body or incorrect parameter given. 289 289 */ 290 function wp_remote_retrieve_body( &$response) {290 function wp_remote_retrieve_body( $response ) { 291 291 if ( is_wp_error($response) || ! isset($response['body']) ) 292 292 return '';
Note: See TracChangeset
for help on using the changeset viewer.