diff --git a/includes/classes/Feature/Comments/Comments.php b/includes/classes/Feature/Comments/Comments.php index e78646aebc..544e3ffe22 100644 --- a/includes/classes/Feature/Comments/Comments.php +++ b/includes/classes/Feature/Comments/Comments.php @@ -266,9 +266,12 @@ public static function get_searchable_post_types() { $searchable_post_types = array(); $post_types = Features::factory()->get_registered_feature( 'search' )->get_searchable_post_types(); - $post_types = array_filter( $post_types, function( $post_type ) { - return post_type_supports( $post_type, 'comments' ); - } ); + $post_types = array_filter( + $post_types, + function( $post_type ) { + return post_type_supports( $post_type, 'comments' ); + } + ); foreach ( $post_types as $post_type ) { $post_type_object = get_post_type_object( $post_type );