WordPress.org

Make WordPress Core

Ticket #10765: 10765.patch

File 10765.patch, 515 bytes (added by hakre, 9 years ago)
  • wp-includes/http.php

     
    13301330                $theResponse = curl_exec( $handle );
    13311331
    13321332                if ( !empty($theResponse) ) {
    1333                         $parts = explode("\r\n\r\n", $theResponse);
    1334 
    13351333                        $headerLength = curl_getinfo($handle, CURLINFO_HEADER_SIZE);
    13361334                        $theHeaders = trim( substr($theResponse, 0, $headerLength) );
    13371335                        $theBody = substr( $theResponse, $headerLength );