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 b330e88 commit f2b6da4Copy full SHA for f2b6da4
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