Make WordPress Core

Ticket #11557: 11557.diff

File 11557.diff, 525 bytes (added by dd32, 16 years ago)
  • wp-includes/http.php

     
    976985                        array(
    977986                                'method' => strtoupper($r['method']),
    978987                                'user_agent' => $r['user-agent'],
    979                                 'max_redirects' => $r['redirection'],
     988                                'max_redirects' => $r['redirection'] + 1, // See #11557
    980989                                'protocol_version' => (float) $r['httpversion'],
    981990                                'header' => $strHeaders,
    982991                                'timeout' => $r['timeout'],