Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Apr 8, 2022
1 parent 396c86f commit ac2e0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.0/block-editor-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit ac2e0fd

Please sign in to comment.