WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/21/2019 05:40:58 PM (2 months ago)
Author:
johnbillion
Message:

Docs: Docblock corrections and improvements, mostly related to various pre_* filters.

See #47110

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-http-proxy.php

    r42343 r46232  
    153153
    154154    /**
    155      * Whether URL should be sent through the proxy server.
    156      *
    157      * We want to keep localhost and the site URL from being sent through the proxy server, because
     155     * Determines whether the request should be sent through a proxy.
     156     *
     157     * We want to keep localhost and the site URL from being sent through the proxy, because
    158158     * some proxies can not handle this. We also have the constant available for defining other
    159159     * hosts that won't be sent through the proxy.
     
    182182
    183183        /**
    184          * Filters whether to preempt sending the request through the proxy server.
     184         * Filters whether to preempt sending the request through the proxy.
    185185         *
    186186         * Returning false will bypass the proxy; returning true will send
     
    189189         * @since 3.5.0
    190190         *
    191          * @param null  $override Whether to override the request result. Default null.
    192          * @param string $uri      URL to check.
    193          * @param array  $check    Associative array result of parsing the URI.
    194          * @param array  $home     Associative array result of parsing the site URL.
     191         * @param bool|null $override Whether to override the request result. Default null.
     192         * @param string    $uri      URL to check.
     193         * @param array     $check    Associative array result of parsing the request URI.
     194         * @param array     $home     Associative array result of parsing the site URL.
    195195         */
    196196        $result = apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home );
Note: See TracChangeset for help on using the changeset viewer.