Make WordPress Core


Ignore:
Timestamp:
01/28/2016 03:34:02 AM (8 years ago)
Author:
ericlewis
Message:

Networks and sites: Replace "blog" usage with "site" in docs.

Multisite functions use the term "blog" to refer to what we now call a "site," e.g. get_current_blog_id(). These functions are here to stay because of our commitment to backwards compatibility. What we can do is set the documentation straight.

See #35417.

File:
1 edited

Legend:

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

    r33876 r36416  
    2525 * <li>WP_PROXY_PASSWORD - Proxy password, if it requires authentication.</li>
    2626 * <li>WP_PROXY_BYPASS_HOSTS - Will prevent the hosts in this list from going through the proxy.
    27  * You do not need to have localhost and the blog host in this list, because they will not be passed
     27 * You do not need to have localhost and the site host in this list, because they will not be passed
    2828 * through the proxy. The list should be presented in a comma separated list, wildcards using * are supported, eg. *.wordpress.org</li>
    2929 * </ol>
     
    151151     * Whether URL should be sent through the proxy server.
    152152     *
    153      * We want to keep localhost and the blog URL from being sent through the proxy server, because
     153     * We want to keep localhost and the site URL from being sent through the proxy server, because
    154154     * some proxies can not handle this. We also have the constant available for defining other
    155155     * hosts that won't be sent through the proxy.
     
    166166        /*
    167167         * parse_url() only handles http, https type URLs, and will emit E_WARNING on failure.
    168          * This will be displayed on blogs, which is not reasonable.
     168         * This will be displayed on sites, which is not reasonable.
    169169         */
    170170        $check = @parse_url($uri);
Note: See TracChangeset for help on using the changeset viewer.