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:
ryan 2008-12-31 22:33:46 +00:00
parent 0e8d3701eb
commit 0e3e92e8b9

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