Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 72a9404

Browse files
danielwrobertTarun Vijwani
authored andcommitted
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.
1 parent e6855f7 commit 72a9404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/blocks/classic-template/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const Edit = ( {
8989
getButtonLabel,
9090
} = conversionConfig[ templateType ];
9191

92-
const canConvert = isExperimentalBuild() && isConversionPossible();
92+
const canConvert = isConversionPossible();
9393
const placeholderDescription = getDescription( templateTitle, canConvert );
9494

9595
return (

0 commit comments

Comments
 (0)