From 6ceefc0e264f176112937baad4aa6ccec9926fba Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Tue, 30 Jul 2013 06:47:03 +0000 Subject: [PATCH] WP_HTTP: PHPDoc updates for WP_Http::handle_redirects(). Props DrewAPicture. Fixes #16889 git-svn-id: https://develop.svn.wordpress.org/trunk@24890 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/class-http.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 87558df48d..32ff9f3602 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -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.