Add missing documentation from [24894]. see #24646.
git-svn-id: https://develop.svn.wordpress.org/trunk@24895 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
84255b0e03
commit
dbe4197dd3
@ -52,6 +52,9 @@ function wp_safe_remote_request( $url, $args = array() ) {
|
||||
/**
|
||||
* Retrieve the raw response from a safe HTTP request using the GET method.
|
||||
*
|
||||
* This function is ideal when the HTTP request is being made to an arbitrary
|
||||
* URL. The URL is validated to avoid redirection and request forgery attacks.
|
||||
*
|
||||
* @see wp_remote_request() For more information on the response array format
|
||||
* and default arguments.
|
||||
*
|
||||
@ -70,6 +73,9 @@ function wp_safe_remote_get( $url, $args = array() ) {
|
||||
/**
|
||||
* Retrieve the raw response from a safe HTTP request using the POST method.
|
||||
*
|
||||
* This function is ideal when the HTTP request is being made to an arbitrary
|
||||
* URL. The URL is validated to avoid redirection and request forgery attacks.
|
||||
*
|
||||
* @see wp_remote_request() For more information on the response array format
|
||||
* and default arguments.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user