From 72a9404cf1e1820152168f0b245736ff83dd959d Mon Sep 17 00:00:00 2001 From: "Daniel W. Robert" Date: Thu, 30 Mar 2023 08:47:02 -0400 Subject: [PATCH] Remove `isExperimentalBuild` Checks in Classic Template Block (#8902) * Remove isExperimentalBuild checks. By removing the `isExperimentalBuild` conditional checks in the Classic Template block, we can ensure the features added in #8324 will land in WooCommerce Core and are not limited to the feature plugin. See p1680000654295729-slack-C02UBB1EPEF for additional context. * Revert isExperimentalBuild removal on registration The conditional `isExperimentalBuild` conditional check that was wrapping some conditional registration of the classic template block seems to be unrelated to the template conversion/migration. This is something we can revisit and test separately but should not be included in this changeset. --- assets/js/blocks/classic-template/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/blocks/classic-template/index.tsx b/assets/js/blocks/classic-template/index.tsx index ea3da89e34f..2df71d93f5e 100644 --- a/assets/js/blocks/classic-template/index.tsx +++ b/assets/js/blocks/classic-template/index.tsx @@ -89,7 +89,7 @@ const Edit = ( { getButtonLabel, } = conversionConfig[ templateType ]; - const canConvert = isExperimentalBuild() && isConversionPossible(); + const canConvert = isConversionPossible(); const placeholderDescription = getDescription( templateTitle, canConvert ); return (