WordPress.org

Make WordPress Core

Ticket #4779: 4779.r8582.diff

File 4779.r8582.diff, 433 bytes (added by santosj, 6 years ago)

Fix Copy and Paste bug in cURL transport based off of r8582

  • http.php

     
    900900 
    901901                $theResponse = curl_exec( $handle ); 
    902902 
    903                 list($theHeaders, $theBody) = explode("\r\n\r\n", $strResponse, 2); 
     903                list($theHeaders, $theBody) = explode("\r\n\r\n", $theResponse, 2); 
    904904                $theHeaders = WP_Http::processHeaders($theHeaders); 
    905905 
    906906                $response = array();