From 24838999e6b81876c1ee9e87cde24efbe329d15d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 25 Sep 2022 02:39:14 +0000 Subject: [PATCH] Tests: Remove empty directory in `WP_UnitTestCase_Base::rmdir()`. The `WP_UnitTestCase_Base::rmdir()` method selectively deletes files from a directory, skipping any paths from the `$ignore_files` property. This commit updates the method to remove the empty directory if there are no files left, bringing some parity with PHP native `rmdir()` function. Follow-up to [677/tests], [29120]. See #55652. Built from https://develop.svn.wordpress.org/trunk@54300 git-svn-id: http://core.svn.wordpress.org/trunk@53859 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 d5d90c40cf..d0581f526c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-beta1-54299'; +$wp_version = '6.1-beta1-54300'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.