From b0fa9aac6b9199048ec459aa0c552f089eb208af Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 22 Aug 2016 21:28:27 +0000 Subject: [PATCH] HTTP: in `WP_HTTP_Response`, the `@param` declarations for `$status` and `$headers` were swapped. Let us correct this. See #37771. Built from https://develop.svn.wordpress.org/trunk@38315 git-svn-id: http://core.svn.wordpress.org/trunk@38256 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-http-response.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-http-response.php b/wp-includes/class-wp-http-response.php index e46b01e080..da83de1d58 100644 --- a/wp-includes/class-wp-http-response.php +++ b/wp-includes/class-wp-http-response.php @@ -28,7 +28,7 @@ class WP_HTTP_Response { * * @since 4.4.0 * @access public - * @var int + * @var array */ public $headers; @@ -37,7 +37,7 @@ class WP_HTTP_Response { * * @since 4.4.0 * @access public - * @var array + * @var int */ public $status; diff --git a/wp-includes/version.php b/wp-includes/version.php index 27451bbe34..d255b0ca0f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38314'; +$wp_version = '4.7-alpha-38315'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.