Make WordPress Core

Ticket #16889: 16889.2.diff

File 16889.2.diff, 1.0 KB (added by DrewAPicture, 11 years ago)

phpdoc fixes for WP_Http::handle_redirects()

  • wp-includes/class-http.php

     
    597597        /**
    598598         * Handles HTTP Redirects and follows them if appropriate.
    599599         *
    600          * @since 3.7
     600         * @since 3.7.0
    601601         *
    602          * @param $url The URL which was requested
    603          * @param $args The Arguements which were used to make the request
    604          * @param $response The Response of the HTTP request
    605          * @return false|object False if no redirect is present, a WP_HTTP or WP_Error result otherwise
     602         * @param string $url The URL which was requested.
     603         * @param array $args The Arguements which were used to make the request.
     604         * @param array $response The Response of the HTTP request.
     605         * @return false|object False if no redirect is present, a WP_HTTP or WP_Error result otherwise.
    606606         */
    607607        static function handle_redirects( $url, $args, $response ) {
    608608                // If no redirects are present, or, redirects were not requested, perform no action.