Commit 475d71fa83 for wordpress.org
commit 475d71fa83913d730b0059a1cc71b08077179794
Author: lancewillett <lancewillett@git.wordpress.org>
Date: Thu Nov 5 15:38:02 2026 +0000
Build/Test Tools: Only declare the default group filter where PHPUnit has test listeners.
[65251] declared `WP_PHPUnit_Default_Group_Filter` as a `PHPUnit\Framework\TestListener` for every PHPUnit version from 6.0. PHPUnit 10 removed that interface, so loading the test bootstrap with PHPUnit 10 or later failed before any test ran. This broke test suites that load the core test library with newer PHPUnit versions, such as the WordPress.org unit tests.
The listener is now declared only when the interface exists. PHPUnit 9 and earlier are unchanged. PHPUnit 10 and later do not support listeners.
Follow-up to [65251].
Developed in: https://github.com/WordPress/wordpress-develop/pull/15508
Props ekamran.
See #34185.
Built from https://develop.svn.wordpress.org/trunk@65276
git-svn-id: http://core.svn.wordpress.org/trunk@64425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 477000e7c1..958d7dff67 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-beta4-65275';
+$wp_version = '7.2-beta4-65276';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.