We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2669d9c commit a451049Copy full SHA for a451049
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