Remove stylesheet register
This commit is contained in:
parent
8e0e0e8747
commit
f58e4d4b85
|
@ -332,12 +332,6 @@ class WC_Frontend_Scripts {
|
||||||
'version' => WC_VERSION,
|
'version' => WC_VERSION,
|
||||||
'has_rtl' => true,
|
'has_rtl' => true,
|
||||||
),
|
),
|
||||||
'woocommerce-unsupported-theme' => array(
|
|
||||||
'src' => self::get_asset_url( 'assets/css/unsupported-theme.css' ),
|
|
||||||
'deps' => '',
|
|
||||||
'version' => WC_VERSION,
|
|
||||||
'has_rtl' => true,
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
foreach ( $register_styles as $name => $props ) {
|
foreach ( $register_styles as $name => $props ) {
|
||||||
self::register_style( $name, $props['src'], $props['deps'], $props['version'], 'all', $props['has_rtl'] );
|
self::register_style( $name, $props['src'], $props['deps'], $props['version'], 'all', $props['has_rtl'] );
|
||||||
|
|
Loading…
Reference in New Issue