Merge pull request woocommerce/woocommerce-admin#2432 from woocommerce/remove/unnecessary-wp-editor-styles

Remove unnecessary WP style dependencies.
This commit is contained in:
Jeff Stieler 2019-06-14 12:39:55 -06:00 committed by GitHub
commit 5df030d386
1 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ class WC_Admin_Loader {
wp_register_style(
'wc-components',
self::get_url( 'components/style.css' ),
array( 'wp-edit-blocks' ),
array( 'wp-components' ),
self::get_file_version( 'components/style.css' )
);
wp_style_add_data( 'wc-components', 'rtl', 'replace' );
@ -274,7 +274,7 @@ class WC_Admin_Loader {
wp_register_style(
'wc-components-ie',
self::get_url( 'components/ie.css' ),
array( 'wp-edit-blocks' ),
array( 'wp-components' ),
self::get_file_version( 'components/ie.css' )
);
wp_style_add_data( 'wc-components-ie', 'rtl', 'replace' );