Pass ref in array to avoid warning. fixes #8766
git-svn-id: https://develop.svn.wordpress.org/trunk@10289 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e7cfd42af7
commit
c925939b3d
@ -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