File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
client/blocks/assets/js/blocks/product-filters Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change
1
+ Significance: minor
2
+ Type: add
3
+
4
+ Remove experimental blocks feature gate for the Taxonomy Filter block
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ const TEMPLATE: InnerBlockTemplate[] = [
32
32
[ 'woocommerce/product-filter-price' ] ,
33
33
[ 'woocommerce/product-filter-rating' ] ,
34
34
[ 'woocommerce/product-filter-attribute' ] ,
35
+ [ 'woocommerce/product-filter-taxonomy' ] ,
35
36
[ 'woocommerce/product-filter-status' ] ,
36
37
] ;
37
38
Original file line number Diff line number Diff line change 3
3
4
4
namespace Automattic \WooCommerce \Blocks ;
5
5
6
- use Automattic \WooCommerce \Admin \Features \Features ;
7
6
use Automattic \WooCommerce \Blocks \Assets \AssetDataRegistry ;
8
7
use Automattic \WooCommerce \Blocks \Assets \Api as AssetApi ;
9
8
use Automattic \WooCommerce \Blocks \Integrations \IntegrationRegistry ;
@@ -469,6 +468,7 @@ protected function get_block_types() {
469
468
'ProductFilterClearButton ' ,
470
469
'ProductFilterCheckboxList ' ,
471
470
'ProductFilterChips ' ,
471
+ 'ProductFilterTaxonomy ' ,
472
472
'ProductGallery ' ,
473
473
'ProductGalleryLargeImage ' ,
474
474
'ProductGalleryThumbnails ' ,
@@ -558,10 +558,6 @@ protected function get_block_types() {
558
558
$ block_types [] = 'AddToCartWithOptions\GroupedProductItemLabel ' ;
559
559
}
560
560
561
- if ( Features::is_enabled ( 'experimental-blocks ' ) ) {
562
- $ block_types [] = 'ProductFilterTaxonomy ' ;
563
- }
564
-
565
561
/**
566
562
* This enables specific blocks in Widget Areas using an opt-in approach.
567
563
*/
You can’t perform that action at this time.
0 commit comments