Make WordPress Core

Changeset 27475


Ignore:
Timestamp:
03/08/2014 09:53:51 PM (12 years ago)
Author:
nacin
Message:

Add context to an internal HTTP API hook.

props kovshenin.
fixes #27021.

File:
1 edited

Legend:

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

    r27262 r27475  
    13501350                 * @since 2.8.0
    13511351                 *
    1352                  * @param array $handle cURL options set using curl_setopt().
     1352                 * @param resource &$handle The cURL handle returned by curl_init().
     1353                 * @param array    $r       The HTTP request arguments.
     1354                 * @param string   $url     The destination URL.
    13531355                 */
    1354                 do_action_ref_array( 'http_api_curl', array(&$handle) );
     1356                do_action_ref_array( 'http_api_curl', array( &$handle, $r, $url ) );
    13551357
    13561358                // We don't need to return the body, so don't. Just execute request and return.
Note: See TracChangeset for help on using the changeset viewer.