Make WordPress Core

Changeset 12745


Ignore:
Timestamp:
01/17/2010 08:00:41 AM (15 years ago)
Author:
dd32
Message:

Bring WP_Http_Streams maximum redirection into line with the rest of the transports. Fixes #11557

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/http.php

    r12739 r12745  
    977977                'method' => strtoupper($r['method']),
    978978                'user_agent' => $r['user-agent'],
    979                 'max_redirects' => $r['redirection'],
     979                'max_redirects' => $r['redirection'] + 1, // See #11557
    980980                'protocol_version' => (float) $r['httpversion'],
    981981                'header' => $strHeaders,
Note: See TracChangeset for help on using the changeset viewer.