Add missing documentation from [24894]. see #24646.
git-svn-id: http://core.svn.wordpress.org/trunk@24895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8c7adaa7bd
commit
3fc038fd6f
|
@ -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