mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Pass ref in array to avoid warning. fixes #8766
git-svn-id: http://svn.automattic.com/wordpress/trunk@10289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0e8d3701eb
commit
0e3e92e8b9
@ -1035,7 +1035,7 @@ class WP_Http_Curl {
|
||||
else
|
||||
curl_setopt( $handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1 );
|
||||
|
||||
do_action_ref_array( 'http_api_curl', &$handle );
|
||||
do_action_ref_array( 'http_api_curl', array(&$handle) );
|
||||
|
||||
if ( ! $r['blocking'] ) {
|
||||
curl_exec( $handle );
|
||||
|
Loading…
Reference in New Issue
Block a user