diff --git a/plugins/woocommerce/changelog/42899-add-amulet-theme-auto-insert-mini-cart b/plugins/woocommerce/changelog/42899-add-amulet-theme-auto-insert-mini-cart new file mode 100644 index 00000000000..8d94474a480 --- /dev/null +++ b/plugins/woocommerce/changelog/42899-add-amulet-theme-auto-insert-mini-cart @@ -0,0 +1,4 @@ +Significance: minor +Type: add + +Auto-inserts Mini Cart block into Amulet theme headers patterns and template parts. \ No newline at end of file diff --git a/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php b/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php index c0f0750b8e7..94b173b382f 100644 --- a/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php +++ b/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php @@ -609,7 +609,7 @@ class MiniCart extends AbstractBlock { * * @since $VID:$ */ - $theme_include_list = apply_filters( 'woocommerce_blocks_mini_cart_auto_insert_theme_include_list', array( 'Twenty Twenty-Four', 'Twenty Twenty-Three', 'Twenty Twenty-Two', 'Tsubaki', 'Zaino', 'Thriving Artist' ) ); + $theme_include_list = apply_filters( 'woocommerce_blocks_mini_cart_auto_insert_theme_include_list', array( 'Twenty Twenty-Four', 'Twenty Twenty-Three', 'Twenty Twenty-Two', 'Tsubaki', 'Zaino', 'Thriving Artist', 'Amulet' ) ); if ( $context && in_array( $active_theme_name, $theme_include_list, true ) ) { if (