diff --git a/wp-includes/class-wp-http-curl.php b/wp-includes/class-wp-http-curl.php index c331f05d88..a49db80fbb 100644 --- a/wp-includes/class-wp-http-curl.php +++ b/wp-includes/class-wp-http-curl.php @@ -143,9 +143,7 @@ class WP_Http_Curl { * a bug #17490 with redirected POST requests, so handle redirections outside Curl. */ curl_setopt( $handle, CURLOPT_FOLLOWLOCATION, false ); - if ( defined( 'CURLOPT_PROTOCOLS' ) ) { // PHP 5.2.10 / cURL 7.19.4 - curl_setopt( $handle, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS ); - } + curl_setopt( $handle, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS ); switch ( $parsed_args['method'] ) { case 'HEAD': diff --git a/wp-includes/version.php b/wp-includes/version.php index e6f889218c..895b2bfd5e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46217'; +$wp_version = '5.3-alpha-46218'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.