From 28f336922069218cd746582979e3d3cd3456a639 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 24 Jan 2023 16:05:12 +0000 Subject: [PATCH] Code Modernization: Rename parameters that use reserved keywords in `phpunit/tests/kses.php`. While using reserved PHP keywords as parameter name labels is allowed, in the context of function calls using named parameters in PHP 8.0+, this will easily lead to confusion. To avoid that, it is recommended not to use reserved keywords as function parameter names. This commit renames the `$global` parameter to `$global_name` in `Tests_Kses::test_kses_globals_are_defined()`. Follow-up to [52229], [54203], [55090]. Props jrf, aristath, poena, justinahinon, SergeyBiryukov. See #56788. Built from https://develop.svn.wordpress.org/trunk@55131 git-svn-id: http://core.svn.wordpress.org/trunk@54664 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 e62bd39c32..724467e7d1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55130'; +$wp_version = '6.2-alpha-55131'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.