mirror of
git://develop.git.wordpress.org/
synced 2025-03-20 03:49:54 +01:00
HTTP API: Revert changeset [52315].
Reverting Requests 2.0.0 changes and moving to WordPress 6.0 cycle. Why? The namespace and file case renaming revealed 2 issues in Core's upgrader process. See https://core.trac.wordpress.org/ticket/54504#comment:22 for more information. See #54562, #54504. git-svn-id: https://develop.svn.wordpress.org/trunk@52327 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5eede7436a
commit
e601e72628
@ -378,7 +378,7 @@ class WP_Http {
|
||||
// Check for proxies.
|
||||
$proxy = new WP_HTTP_Proxy();
|
||||
if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) {
|
||||
$options['proxy'] = new WpOrg\Requests\Proxy\Http( $proxy->host() . ':' . $proxy->port() );
|
||||
$options['proxy'] = new WpOrg\Requests\Proxy\HTTP( $proxy->host() . ':' . $proxy->port() );
|
||||
|
||||
if ( $proxy->use_authentication() ) {
|
||||
$options['proxy']->use_authentication = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user