diff --git a/lib/editor-features.php b/lib/editor-features.php deleted file mode 100644 index 4f43424e29e1a7..00000000000000 --- a/lib/editor-features.php +++ /dev/null @@ -1,49 +0,0 @@ - gutenberg_experimental_global_styles_get_stylesheet() ); + $merged = gutenberg_experimental_global_styles_get_merged_origins(); + $stylesheet = gutenberg_experimental_global_styles_resolver( $merged ); + $settings['styles'][] = array( 'css' => $stylesheet ); + + $settings['__experimentalFeatures'] = gutenberg_experimental_global_styles_get_editor_features( $merged ); return $settings; } diff --git a/lib/load.php b/lib/load.php index 3815faf3761417..cc8c54210033c3 100644 --- a/lib/load.php +++ b/lib/load.php @@ -101,5 +101,4 @@ function gutenberg_is_experiment_enabled( $name ) { require dirname( __FILE__ ) . '/customizer.php'; require dirname( __FILE__ ) . '/edit-site-page.php'; require dirname( __FILE__ ) . '/edit-site-export.php'; -require dirname( __FILE__ ) . '/editor-features.php'; require dirname( __FILE__ ) . '/global-styles.php';