From 17b48b9b970e06233d718b2445e98e9353dc4a4e Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Tue, 10 Jan 2023 10:03:17 +0100
Subject: [PATCH] WP_Http: fix typo
---
src/wp-includes/class-wp-http.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wp-includes/class-wp-http.php b/src/wp-includes/class-wp-http.php
index 2472367835..7edffe0e6b 100644
a
|
b
|
class WP_Http { |
379 | 379 | // Check for proxies. |
380 | 380 | $proxy = new WP_HTTP_Proxy(); |
381 | 381 | if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) { |
382 | | $options['proxy'] = new WpOrg\Requests\Proxy\HTTP( $proxy->host() . ':' . $proxy->port() ); |
| 382 | $options['proxy'] = new WpOrg\Requests\Proxy\Http( $proxy->host() . ':' . $proxy->port() ); |
383 | 383 | |
384 | 384 | if ( $proxy->use_authentication() ) { |
385 | 385 | $options['proxy']->use_authentication = true; |