mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865
git-svn-id: https://develop.svn.wordpress.org/trunk@22118 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1109,7 +1109,7 @@ class WP_Http_Curl {
|
||||
}
|
||||
|
||||
if ( true === $r['blocking'] )
|
||||
curl_setopt( $handle, CURLOPT_HEADERFUNCTION, array( &$this, 'stream_headers' ) );
|
||||
curl_setopt( $handle, CURLOPT_HEADERFUNCTION, array( $this, 'stream_headers' ) );
|
||||
|
||||
curl_setopt( $handle, CURLOPT_HEADER, false );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user