HTTP API: Remove duplicate documentation for the `http_api_debug` hook.
Fixes #37081 Built from https://develop.svn.wordpress.org/trunk@38043 git-svn-id: http://core.svn.wordpress.org/trunk@37984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f3b3ece76a
commit
7e7dfdea55
|
@ -494,17 +494,7 @@ class WP_Http {
|
||||||
|
|
||||||
$response = $transports[$class]->request( $url, $args );
|
$response = $transports[$class]->request( $url, $args );
|
||||||
|
|
||||||
/**
|
/** This action is documented in wp-includes/class-http.php */
|
||||||
* Fires after an HTTP API response is received and before the response is returned.
|
|
||||||
*
|
|
||||||
* @since 2.8.0
|
|
||||||
*
|
|
||||||
* @param array|WP_Error $response HTTP response or WP_Error object.
|
|
||||||
* @param string $context Context under which the hook is fired.
|
|
||||||
* @param string $class HTTP transport used.
|
|
||||||
* @param array $args HTTP request arguments.
|
|
||||||
* @param string $url The request URL.
|
|
||||||
*/
|
|
||||||
do_action( 'http_api_debug', $response, 'response', $class, $args, $url );
|
do_action( 'http_api_debug', $response, 'response', $class, $args, $url );
|
||||||
|
|
||||||
if ( is_wp_error( $response ) )
|
if ( is_wp_error( $response ) )
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.6-beta2-38042';
|
$wp_version = '4.6-beta2-38043';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue