From 5d31e4368e4821206a564e4708c348572d622d5b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 25 Sep 2020 02:11:03 +0000 Subject: [PATCH] Tests: Correct the check for image sizes in some REST API attachments controller tests. If the sizes data could not be retrieved, the controller returns an empty object instead of an array. This makes sure that the value is in fact an array before proceeding, and outputs a proper message in case of failure, instead of an obscure PHP error further in the test. Follow-up to [49044]. See #50913, #51393. Built from https://develop.svn.wordpress.org/trunk@49046 git-svn-id: http://core.svn.wordpress.org/trunk@48808 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index ad7c6386fe..66607b6ad8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49045'; +$wp_version = '5.6-alpha-49046'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.