From 795758f2659a418502661ed77b8c3ba8b31e9eb9 Mon Sep 17 00:00:00 2001 From: spacedmonkey Date: Wed, 10 May 2023 09:11:24 +0000 Subject: [PATCH] Build/Test Tools: Call `wp_cache_flush_runtime` in WP_UnitTestCase. In `WP_UnitTestCase::flush_cache` method, the properties of the global `$wp_object_cache` object were manaully being reset to flush the cache. The function `wp_cache_flush_runtime` was added in [52772] and is designed to reset any class properties to default values. Using `wp_cache_flush_runtime` improve compatibility with third party object caches, as it allows developers to define their own `wp_cache_flush_runtime` function. Props rmccue, johnbillion, wonderboymusic, boonebgorges, voldemortensen, dd32, DrewAPicture, tillkruess, spacedmonkey. Fixes #31463. Built from https://develop.svn.wordpress.org/trunk@55741 git-svn-id: http://core.svn.wordpress.org/trunk@55253 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 5a7f2d7886..fb27143ec4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55737'; +$wp_version = '6.3-alpha-55741'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.