WordPress.org

Make WordPress Core

Ticket #18157: undefined-property-wp_http_curl-headers.diff

File undefined-property-wp_http_curl-headers.diff, 447 bytes (added by chrisbliss18, 4 years ago)
  • wp-includes/class-http.php

     
    11171117                                return new WP_Error('http_request_failed', __('Too many redirects.')); 
    11181118                } 
    11191119 
    1120                 unset( $this->headers ); 
     1120                $this->headers = ''; 
    11211121 
    11221122                $response = array(); 
    11231123                $response['code'] = curl_getinfo( $handle, CURLINFO_HTTP_CODE );