mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 03:04:34 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@36416 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
* <li>WP_PROXY_USERNAME - Proxy username, if it requires authentication.</li>
|
||||
* <li>WP_PROXY_PASSWORD - Proxy password, if it requires authentication.</li>
|
||||
* <li>WP_PROXY_BYPASS_HOSTS - Will prevent the hosts in this list from going through the proxy.
|
||||
* You do not need to have localhost and the blog host in this list, because they will not be passed
|
||||
* You do not need to have localhost and the site host in this list, because they will not be passed
|
||||
* through the proxy. The list should be presented in a comma separated list, wildcards using * are supported, eg. *.wordpress.org</li>
|
||||
* </ol>
|
||||
*
|
||||
@@ -150,7 +150,7 @@ class WP_HTTP_Proxy {
|
||||
/**
|
||||
* Whether URL should be sent through the proxy server.
|
||||
*
|
||||
* We want to keep localhost and the blog URL from being sent through the proxy server, because
|
||||
* We want to keep localhost and the site URL from being sent through the proxy server, because
|
||||
* some proxies can not handle this. We also have the constant available for defining other
|
||||
* hosts that won't be sent through the proxy.
|
||||
*
|
||||
@@ -165,7 +165,7 @@ class WP_HTTP_Proxy {
|
||||
public function send_through_proxy( $uri ) {
|
||||
/*
|
||||
* parse_url() only handles http, https type URLs, and will emit E_WARNING on failure.
|
||||
* This will be displayed on blogs, which is not reasonable.
|
||||
* This will be displayed on sites, which is not reasonable.
|
||||
*/
|
||||
$check = @parse_url($uri);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user