mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Update the docs for wp_remote_retrieve_response_code()
. See #28887.
Built from https://develop.svn.wordpress.org/trunk@29985 git-svn-id: http://core.svn.wordpress.org/trunk@29727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ae7cb843a0
commit
e2ff1da654
@ -246,7 +246,7 @@ function wp_remote_retrieve_header( $response, $header ) {
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param array $response HTTP response.
|
||||
* @return string the response code. Empty string on incorrect parameter given.
|
||||
* @return int|string The response code as an integer. Empty string on incorrect parameter given.
|
||||
*/
|
||||
function wp_remote_retrieve_response_code( $response ) {
|
||||
if ( is_wp_error($response) || ! isset($response['response']) || ! is_array($response['response']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user