Tests: Get rid of extra remove_filter()/remove_action() calls in Abilities API tests.

These are redundant: `WP_UnitTestCase_Base::tear_down()` runs `::_restore_hooks()`, which restores `$wp_filter`/`$wp_actions` to a pre-test baseline, so hooks added during a test are removed automatically.

Follow-up to [61032].

Props mohamedahamed, gziolo, westonruter, SergeyBiryukov.
Fixes #65301.
Built from https://develop.svn.wordpress.org/trunk@62405


git-svn-id: http://core.svn.wordpress.org/trunk@61686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2026-05-21 23:21:42 +00:00
parent e3db179058
commit 935b6d5898
+1 -1
View File
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.1-alpha-62404';
$wp_version = '7.1-alpha-62405';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.