Make WordPress Core

Ticket #37494: 37494.2.patch

File 37494.2.patch, 521 bytes (added by ocean90, 8 years ago)
  • src/wp-includes/class-http.php

     
    356356                        $options['proxy'] = new Requests_Proxy_HTTP( $proxy->host() . ':' . $proxy->port() );
    357357
    358358                        if ( $proxy->use_authentication() ) {
     359                                $options['proxy']->use_authentication = true;
    359360                                $options['proxy']->user = $proxy->username();
    360361                                $options['proxy']->pass = $proxy->password();
    361362                        }