From c50113dc8d5a58d335c42cf7c07ecc4ed44b7f88 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Fri, 17 Feb 2017 05:06:44 +0000 Subject: [PATCH] HTTP API: Restore backwards compatibility with the `http_api_curl` filter - it expects that the handle parameter is passed as a reference, however [39212] missed that. Props pento. Fixes #39783. Built from https://develop.svn.wordpress.org/trunk@40068 git-svn-id: http://core.svn.wordpress.org/trunk@40005 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-http-requests-hooks.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-http-requests-hooks.php b/wp-includes/class-wp-http-requests-hooks.php index 108fae8c10..6650d5869c 100644 --- a/wp-includes/class-wp-http-requests-hooks.php +++ b/wp-includes/class-wp-http-requests-hooks.php @@ -54,7 +54,7 @@ class WP_HTTP_Requests_Hooks extends Requests_Hooks { switch ( $hook ) { case 'curl.before_send': /** This action is documented in wp-includes/class-wp-http-curl.php */ - do_action_ref_array( 'http_api_curl', array( $parameters[0], $this->request, $this->url ) ); + do_action_ref_array( 'http_api_curl', array( &$parameters[0], $this->request, $this->url ) ); break; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 80dd7cdeb2..690a0594c1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40067'; +$wp_version = '4.8-alpha-40068'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.