mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 02:49:04 +01:00
WP_HTTP: PHPDoc updates for WP_Http::handle_redirects(). Props DrewAPicture. Fixes #16889
git-svn-id: http://core.svn.wordpress.org/trunk@24890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c1b6c70ea6
commit
94b2ed9164
@ -597,12 +597,12 @@ class WP_Http {
|
||||
/**
|
||||
* Handles HTTP Redirects and follows them if appropriate.
|
||||
*
|
||||
* @since 3.7
|
||||
* @since 3.7.0
|
||||
*
|
||||
* @param $url The URL which was requested
|
||||
* @param $args The Arguements which were used to make the request
|
||||
* @param $response The Response of the HTTP request
|
||||
* @return false|object False if no redirect is present, a WP_HTTP or WP_Error result otherwise
|
||||
* @param string $url The URL which was requested.
|
||||
* @param array $args The Arguements which were used to make the request.
|
||||
* @param array $response The Response of the HTTP request.
|
||||
* @return false|object False if no redirect is present, a WP_HTTP or WP_Error result otherwise.
|
||||
*/
|
||||
static function handle_redirects( $url, $args, $response ) {
|
||||
// If no redirects are present, or, redirects were not requested, perform no action.
|
||||
|
Loading…
Reference in New Issue
Block a user