diff --git a/plugins/woocommerce/changelog/47481-fix-47480-product-filter-button-css-error b/plugins/woocommerce/changelog/47481-fix-47480-product-filter-button-css-error new file mode 100644 index 00000000000..8a986442266 --- /dev/null +++ b/plugins/woocommerce/changelog/47481-fix-47480-product-filter-button-css-error @@ -0,0 +1,4 @@ +Significance: patch +Type: fix +Comment: Fix CSS error on the Product Filter Clear Button block + diff --git a/plugins/woocommerce/src/Blocks/BlockTypes/ProductFilterClearButton.php b/plugins/woocommerce/src/Blocks/BlockTypes/ProductFilterClearButton.php index e1288926e7f..31e733b7c63 100644 --- a/plugins/woocommerce/src/Blocks/BlockTypes/ProductFilterClearButton.php +++ b/plugins/woocommerce/src/Blocks/BlockTypes/ProductFilterClearButton.php @@ -13,6 +13,15 @@ final class ProductFilterClearButton extends AbstractBlock { */ protected $block_name = 'product-filter-clear-button'; + /** + * Get the frontend style handle for this block type. + * + * @return null + */ + protected function get_block_type_style() { + return null; + } + /** * Include and render the block. *