Skip to content

Commit

Permalink
WooCommerce css dequeue tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed Jan 14, 2015
1 parent f996714 commit b88139b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* **Dev** - Reorganised sass files.
* **Dev** - Added some handy class names to homepage product sections.
* **Dev** - Added `storefront_menu_toggle_text` filter.
* **Dev** - Updated how WooCommerce styles are dequeued.

### *2015.01.07* - 1.2.3
* **Fix** - Button border in WooCommerce messages when using the Storefront Designer extension.
Expand Down
2 changes: 1 addition & 1 deletion inc/woocommerce/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @see storefront_woocommerce_scripts()
*/
add_action( 'wp_enqueue_scripts', 'storefront_woocommerce_scripts', 20 );
add_filter( 'woocommerce_enqueue_styles', '__return_false' );
add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );

/**
* Layout
Expand Down

0 comments on commit b88139b

Please sign in to comment.