Merge pull request woocommerce/woocommerce-admin#2432 from woocommerce/remove/unnecessary-wp-editor-styles
Remove unnecessary WP style dependencies.
This commit is contained in:
commit
5df030d386
|
@ -266,7 +266,7 @@ class WC_Admin_Loader {
|
||||||
wp_register_style(
|
wp_register_style(
|
||||||
'wc-components',
|
'wc-components',
|
||||||
self::get_url( 'components/style.css' ),
|
self::get_url( 'components/style.css' ),
|
||||||
array( 'wp-edit-blocks' ),
|
array( 'wp-components' ),
|
||||||
self::get_file_version( 'components/style.css' )
|
self::get_file_version( 'components/style.css' )
|
||||||
);
|
);
|
||||||
wp_style_add_data( 'wc-components', 'rtl', 'replace' );
|
wp_style_add_data( 'wc-components', 'rtl', 'replace' );
|
||||||
|
@ -274,7 +274,7 @@ class WC_Admin_Loader {
|
||||||
wp_register_style(
|
wp_register_style(
|
||||||
'wc-components-ie',
|
'wc-components-ie',
|
||||||
self::get_url( 'components/ie.css' ),
|
self::get_url( 'components/ie.css' ),
|
||||||
array( 'wp-edit-blocks' ),
|
array( 'wp-components' ),
|
||||||
self::get_file_version( 'components/ie.css' )
|
self::get_file_version( 'components/ie.css' )
|
||||||
);
|
);
|
||||||
wp_style_add_data( 'wc-components-ie', 'rtl', 'replace' );
|
wp_style_add_data( 'wc-components-ie', 'rtl', 'replace' );
|
||||||
|
|
Loading…
Reference in New Issue