Make WordPress Core


Ignore:
Timestamp:
11/13/2016 10:35:15 AM (7 years ago)
Author:
dd32
Message:

WP_HTTP: Map internal Requests hooks to WordPress actions.
This change introduces a requests-{$hook} action which can be used to hook into Requests hooks, and restores the http_api_curl action.

Props rmccue.
Fixes #37843.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r38961 r39212  
    209209require( ABSPATH . WPINC . '/class-wp-http-response.php' );
    210210require( ABSPATH . WPINC . '/class-wp-http-requests-response.php' );
     211require( ABSPATH . WPINC . '/class-wp-http-requests-hooks.php' );
    211212require( ABSPATH . WPINC . '/widgets.php' );
    212213require( ABSPATH . WPINC . '/class-wp-widget.php' );
Note: See TracChangeset for help on using the changeset viewer.