From ac2e0fd390c2343da9cd70c90abcc63f25512cb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= <583546+oandregal@users.noreply.github.com> Date: Fri, 8 Apr 2022 14:57:53 +0200 Subject: [PATCH] Make linter happy --- lib/compat/wordpress-6.0/block-editor-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compat/wordpress-6.0/block-editor-settings.php b/lib/compat/wordpress-6.0/block-editor-settings.php index b4f6dba836799..79dade8538665 100644 --- a/lib/compat/wordpress-6.0/block-editor-settings.php +++ b/lib/compat/wordpress-6.0/block-editor-settings.php @@ -37,7 +37,7 @@ function_exists( 'gutenberg_is_edit_site_page' ) && // Remove global styles added by core. // This needs to be fixed in core but this will help us in the meanwhile. $styles_without_existing_global_styles = array(); - foreach( $settings['styles'] as $style ) { + foreach ( $settings['styles'] as $style ) { if ( ! isset( $style['__unstableType'] ) || ! in_array( $style['__unstableType'], array( 'globalStyles', 'presets' ), true )