]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-wp-http-proxy.php
WordPress 4.6.3-scripts
[autoinstalls/wordpress.git] / wp-includes / class-wp-http-proxy.php
index fba0e0ec68e0abd89c4e3ca99e104df7ddfffbb5..7ae3d4e266265741d29a3aa62ab7c0dd1ea64934 100644 (file)
@@ -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);
 
@@ -176,7 +176,7 @@ class WP_HTTP_Proxy {
                $home = parse_url( get_option('siteurl') );
 
                /**
-                * Filter whether to preempt sending the request through the proxy server.
+                * Filters whether to preempt sending the request through the proxy server.
                 *
                 * Returning false will bypass the proxy; returning true will send
                 * the request through the proxy. Returning null bypasses the filter.