WordPress.org

Make WordPress Core

Ticket #16890: 16890.patch

File 16890.patch, 527 bytes (added by hakre, 10 years ago)

Quick Fix near parsing

  • wp-includes/class-http.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    459459                        }
    460460                }
    461461
     462                if ( !empty( $newheaders['location'] ) && is_array( $newheaders['location'] ) )
     463                        $newheaders['location'] = $newheaders['location'][0];
     464
    462465                return array('response' => $response, 'headers' => $newheaders, 'cookies' => $cookies);
    463466        }
    464467