Make WordPress Core

Ticket #41381: 41381.patch

File 41381.patch, 1.2 KB (added by ronakganatra, 9 years ago)

access public added

  • class-http.php

     
    393393                 * @param string         $class    HTTP transport used.
    394394                 * @param array          $args     HTTP request arguments.
    395395                 * @param string         $url      The request URL.
     396                 * @param array          $r        HTTP request arguments.
    396397                 */
    397398                do_action( 'http_api_debug', $response, 'response', 'Requests', $r, $url );
    398399                if ( is_wp_error( $response ) ) {
     
    461462         *
    462463         * @param string            $location URL to redirect to.
    463464         * @param array             $headers  Headers for the redirect.
     465         * @param mixed      $data   The data to add to the cache.
    464466         * @param array             $options  Redirect request options.
    465467         * @param Requests_Response $original Response object.
    466468         */
     
    811813         * are supported, eg *.wordpress.org will allow for all subdomains of wordpress.org to be contacted.
    812814         *
    813815         * @since 2.8.0
     816         * @access public
    814817         * @link https://core.trac.wordpress.org/ticket/8927 Allow preventing external requests.
    815818         * @link https://core.trac.wordpress.org/ticket/14636 Allow wildcard domains in WP_ACCESSIBLE_HOSTS
    816819         *