We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 271b791 commit 3b0a984Copy full SHA for 3b0a984
tests/phpunit/tests/admin/exportWp.php
@@ -302,7 +302,7 @@ public function test_export_wp_should_not_include_empty_comments_when_filtered()
302
// Add filter to make get_comment return null.
303
add_action(
304
'export_wp',
305
- function () {
+ static function () {
306
add_filter( 'get_comment', '__return_null' );
307
}
308
);
0 commit comments