From c925939b3d82ae00bd6e837c36f5cdadd17fd6aa Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 31 Dec 2008 22:33:46 +0000 Subject: [PATCH] Pass ref in array to avoid warning. fixes #8766 git-svn-id: https://develop.svn.wordpress.org/trunk@10289 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/http.php b/wp-includes/http.php index fffe764bc4..69cff45c36 100644 --- a/wp-includes/http.php +++ b/wp-includes/http.php @@ -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 );