From 019e35a6708b8c8233d8688e4aa1d25dca7403a7 Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Tue, 11 Jul 2023 13:33:22 +0000 Subject: [PATCH] Build/Test Tools: Reset main query object after each test. This resets the main query variable, `$wp_the_query` during the `WP_UnitTestCase_Base::tear_down` method that runs after each PHPUnit test. This ensures any changes to the main query object is reset after each test to avoid cross contamination between tests, similar to how other globals are reset. Props flixos90, spacedmonkey, joemcgill. Fixes #58776. Built from https://develop.svn.wordpress.org/trunk@56212 git-svn-id: http://core.svn.wordpress.org/trunk@55724 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 74c38397a1..293315314e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-beta3-56211'; +$wp_version = '6.3-beta3-56212'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.