Ticket #37494: 37494.patch
File 37494.patch, 712 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/class-http.php
356 356 $options['proxy'] = new Requests_Proxy_HTTP( $proxy->host() . ':' . $proxy->port() ); 357 357 358 358 if ( $proxy->use_authentication() ) { 359 $options['proxy']->user = $proxy->username(); 360 $options['proxy']->pass = $proxy->password(); 359 $options['proxy'] = new Requests_Proxy_HTTP( $proxy->host() . ':' . $proxy->port(), $proxy->username(), $proxy->password() ); 360 } else { 361 $options['proxy'] = new Requests_Proxy_HTTP( $proxy->host() . ':' . $proxy->port() ); 361 362 } 362 363 } 363 364