Make WordPress Core

Ticket #24987: http.patch

File http.patch, 506 bytes (added by dllh, 12 years ago)
  • wp-includes/class-http.php

     
    197197
    198198                $response = $this->_dispatch_request($url, $r);
    199199
     200                if ( is_wp_error( $response ) )
     201                        return $response;
     202
    200203                // Append cookies that were used in this request to the response
    201204                if ( ! empty( $r['cookies'] ) ) {
    202205                $cookies_set = wp_list_pluck( $response['cookies'], 'name' );