From 58c5345d4b4b34710eedb8002fb2340c2b06ef5e Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 21 Oct 2014 21:12:30 +0000 Subject: [PATCH] Update the docs for `wp_remote_retrieve_response_code()`. See #28887. git-svn-id: https://develop.svn.wordpress.org/trunk@29985 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/http.php b/src/wp-includes/http.php index 539bc8f33b..c3a890b796 100644 --- a/src/wp-includes/http.php +++ b/src/wp-includes/http.php @@ -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']))