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.

Built from https://develop.svn.wordpress.org/trunk@39212


git-svn-id: http://core.svn.wordpress.org/trunk@39152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse
2016-11-13 10:36:29 +00:00
parent dd0411161d
commit 35a0240fb2
4 changed files with 79 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-beta3-39211';
$wp_version = '4.7-beta3-39212';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.