From 566eaaafa2275c9ae34bf2bf1842e2cfe98ba76c Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Tue, 14 Feb 2023 18:21:23 +0000 Subject: [PATCH] Build/Test Tools: Fix inaccurate coverage in Tests_Functions_wpListPluck::set_up(). The call stack for `WP_UnitTestCase_Base::set_up()` includes a call to `WP_List_Util::pluck()`, which creates an inaccurate coverage report for this method. To resolve, `parent::set_up()` is removed from `Tests_Functions_wpListPluck::set_up()`. To ensure that deprecation and incorrect usage notices continue to be detectable, `$this->expectDeprecated()` is added in the test's `set_up()` fixture. Follow-up to [51663], [28900]. Props costdev, jrf, SergeyBiryukov, audrasjb. Fixes #56706. Built from https://develop.svn.wordpress.org/trunk@55341 git-svn-id: http://core.svn.wordpress.org/trunk@54874 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 64cb2b8dd4..1a25f4e272 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-beta2-55340'; +$wp_version = '6.2-beta2-55341'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.