Tests: Remove nested empty directories in WP_UnitTestCase_Base::rmdir().

Includes:
* Checking if the directory exists and returning early otherwise.
* Removing a redundant `rmdir()` call in `clean_dirsize_cache()` tests.

Follow-up to [49744], [54300].

See #55652.
Built from https://develop.svn.wordpress.org/trunk@54303


git-svn-id: http://core.svn.wordpress.org/trunk@53862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-09-25 03:40:09 +00:00
parent 9fc5df7da5
commit dc65565f76

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-beta1-54302';
$wp_version = '6.1-beta1-54303';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.