From 6f4de5f31ae5f6d63d40019522b4516f0fd0ec87 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 18 Sep 2020 10:58:03 +0000 Subject: [PATCH] Tests: Fix the failure in `test_get_weekday_undefined_index()` on PHP 8. The test ensures that `WP_Locale::get_weekday()` throws an "undefined offset" notice when called with an incorrect `$weekday_number` parameter. In PHP 8, that notice is now a warning, so the test needs to be adjusted accordingly. See #50913. Built from https://develop.svn.wordpress.org/trunk@48993 git-svn-id: http://core.svn.wordpress.org/trunk@48755 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 8ed77c31ba..be8bf96562 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-48992'; +$wp_version = '5.6-alpha-48993'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.