mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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
This commit is contained in:
parent
69ab181f01
commit
c50113dc8d
@ -54,7 +54,7 @@ class WP_HTTP_Requests_Hooks extends Requests_Hooks {
|
|||||||
switch ( $hook ) {
|
switch ( $hook ) {
|
||||||
case 'curl.before_send':
|
case 'curl.before_send':
|
||||||
/** This action is documented in wp-includes/class-wp-http-curl.php */
|
/** 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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user