Commit 8045f6a42b for wordpress.org

commit 8045f6a42b54eb3db5bb4a3d4fcf723368b873c3
Author: hellofromTonya <hellofromTonya@git.wordpress.org>
Date:   Mon Dec 6 18:31:05 2021 +0000

    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.
    Built from https://develop.svn.wordpress.org/trunk@52327


    git-svn-id: http://core.svn.wordpress.org/trunk@51919 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-includes/class-wp-http.php b/wp-includes/class-wp-http.php
index e1244aef72..a4a501c90a 100644
--- a/wp-includes/class-wp-http.php
+++ b/wp-includes/class-wp-http.php
@@ -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;
diff --git a/wp-includes/version.php b/wp-includes/version.php
index c430d60383..d89f69a0f2 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '5.9-beta1-52326';
+$wp_version = '5.9-beta1-52327';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.