Make WordPress Core


Ignore:
Timestamp:
10/04/2012 08:00:16 PM (12 years ago)
Author:
ryan
Message:

Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-http.php

    r22055 r22118  
    11101110
    11111111        if ( true === $r['blocking'] )
    1112             curl_setopt( $handle, CURLOPT_HEADERFUNCTION, array( &$this, 'stream_headers' ) );
     1112            curl_setopt( $handle, CURLOPT_HEADERFUNCTION, array( $this, 'stream_headers' ) );
    11131113
    11141114        curl_setopt( $handle, CURLOPT_HEADER, false );
Note: See TracChangeset for help on using the changeset viewer.