From 893fd396da621c73aa4e256a8073f66150eaac80 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 26 Aug 2022 11:45:11 +0000 Subject: [PATCH] Code Modernization: Remove unused dynamic property in `WP_Test_REST_Pages_Controller`. Dynamic (non-explicitly declared) properties are deprecated as of PHP 8.2 and are expected to become a fatal error in PHP 9.0. In this case, it appears that the dynamically created `$has_setup_template` property is not actually used. It is unclear what the original intention was, but since it is undeclared and unused, it can be safely removed. Follow-up to [38832], [53557], [53558], [53850], [53851], [53852], [53853], [53854], [53856], [53916], [53935], [53936], [53937], [53938], [53942]. Props jrf, antonvlasenko. See #56033. Built from https://develop.svn.wordpress.org/trunk@53945 git-svn-id: http://core.svn.wordpress.org/trunk@53504 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 71ae37a615..8d980a6158 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53944'; +$wp_version = '6.1-alpha-53945'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.