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
This commit is contained in:
Sergey Biryukov 2017-07-20 13:13:09 +00:00
parent 2a4d33f2c6
commit c6ba869397

View File

@ -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