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:
Ryan Boren 2008-12-31 22:33:46 +00:00
parent e7cfd42af7
commit c925939b3d
1 changed files with 1 additions and 1 deletions

View File

@ -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 );