From 4b536ec1e059d927bdd96b475273d7a8df058ca1 Mon Sep 17 00:00:00 2001 From: Jeff Stieler Date: Fri, 14 Jun 2019 11:13:59 -0600 Subject: [PATCH] Remove unnecessary WP style dependencies. Use WP component styles instead of full edit-blocks styles. --- plugins/woocommerce-admin/includes/class-wc-admin-loader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-admin/includes/class-wc-admin-loader.php b/plugins/woocommerce-admin/includes/class-wc-admin-loader.php index f86f144e386..c8fc4521d97 100644 --- a/plugins/woocommerce-admin/includes/class-wc-admin-loader.php +++ b/plugins/woocommerce-admin/includes/class-wc-admin-loader.php @@ -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' );