mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user