Coding Standards: Fix a few newly introduced WPCS issues.

Follow-up to [56515], [56557], [56560].

Props jrf.
See #59161, #58831.

git-svn-id: https://develop.svn.wordpress.org/trunk@56598 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2023-09-17 02:08:25 +00:00
parent 5cfb817067
commit fe097d1686
3 changed files with 6 additions and 6 deletions
@@ -181,7 +181,7 @@ class Tests_Formatting_wpTrimExcerpt extends WP_UnitTestCase {
$has_filter = true;
add_filter(
'the_content',
static function( $content ) use ( &$has_filter ) {
static function ( $content ) use ( &$has_filter ) {
$has_filter = has_filter( 'the_content', 'do_blocks' );
return $content;
}