From 7b8972ba630ebb60e417d405f5ba6bca11535e7c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 9 Oct 2022 17:47:27 +0000 Subject: [PATCH] Tests: Minimize file copying in `WP_REST_Attachments_Controller` tests. The tests use two images that were deleted on teardown and recreated on setup for every single test. This appears to be unnecessary, as the files can instead only be recreated if they are missing, and deleted after the test run is complete. This commit reduces ~200 redundant file copying operations to ~5 when running this test class. Follow-up to [38832], [48291], [54424]. See #55652. Built from https://develop.svn.wordpress.org/trunk@54428 git-svn-id: http://core.svn.wordpress.org/trunk@53987 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 008fc3b9cd..687b0050da 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-beta3-54427'; +$wp_version = '6.1-beta3-54428'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.