Fix: Linting error affecting trunk.

Props oandregal.

git-svn-id: https://develop.svn.wordpress.org/trunk@52056 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jorge Costa 2021-11-08 21:56:17 +00:00
parent 3e4677b94b
commit 3c482788b9

View File

@ -329,7 +329,7 @@ function get_block_editor_settings( array $custom_settings, $block_editor_contex
);
$actual_css = wp_get_global_stylesheet( array( $block_classes['css'] ) );
if ( '' !== $actual_css ) {
$block_classes['css'] = $actual_css;
$block_classes['css'] = $actual_css;
$editor_settings['styles'][] = $block_classes;
}
}