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:
Andrew Nacin 2013-07-30 18:39:57 +00:00
parent 8c7adaa7bd
commit 3fc038fd6f
1 changed files with 6 additions and 0 deletions

View File

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