From 703be7e1f3b9be46c6737b57229e04c58b6665e1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 13 Aug 2020 12:34:10 +0000 Subject: [PATCH] Code Modernization: Change `create_function()` in `phpunit/includes/plural-form-function.php` to closure. `create_function()` has been deprecated in PHP >= 7.2 and removed in PHP 8. The only instance left in core was used in a test that was being skipped on PHP >= 7.2. This allows the test to run again. Follow-up to [41722], [41730]. Props jrf. Fixes #50899. Built from https://develop.svn.wordpress.org/trunk@48790 git-svn-id: http://core.svn.wordpress.org/trunk@48552 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 a3dff7a56d..4953bd542e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-48789'; +$wp_version = '5.6-alpha-48790'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.