From c6ba869397f88dd381851bcdbfb534b5959cee9d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 20 Jul 2017 13:13:09 +0000 Subject: [PATCH] Docs: Add `@access` entries for `WP_Http::block_request()`, `::handle_redirects()`, and `::is_ip_address()`. Props ronakganatra. Fixes #41381. git-svn-id: https://develop.svn.wordpress.org/trunk@41104 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-http.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/class-http.php b/src/wp-includes/class-http.php index 42553e5868..d1752fb949 100644 --- a/src/wp-includes/class-http.php +++ b/src/wp-includes/class-http.php @@ -811,6 +811,7 @@ class WP_Http { * are supported, eg *.wordpress.org will allow for all subdomains of wordpress.org to be contacted. * * @since 2.8.0 + * @access public * @link https://core.trac.wordpress.org/ticket/8927 Allow preventing external requests. * @link https://core.trac.wordpress.org/ticket/14636 Allow wildcard domains in WP_ACCESSIBLE_HOSTS * @@ -962,7 +963,7 @@ class WP_Http { * Handles HTTP Redirects and follows them if appropriate. * * @since 3.7.0 - * + * @access public * @static * * @param string $url The URL which was requested. @@ -1019,6 +1020,7 @@ class WP_Http { * @link http://home.deds.nl/~aeron/regex/ for IPv6 regex * * @since 3.7.0 + * @access public * @static * * @param string $maybe_ip A suspected IP address