You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
* Attempts to recover the Classic Template block if it fails to render on the Single Product template
346
+
* due to the user resetting customizations without refreshing the page.
347
+
*
348
+
* When the Classic Template block fails to render, it is replaced by the 'core/missing' block, which
349
+
* displays an error message stating that the WooCommerce Classic template block is unsupported.
350
+
*
351
+
* This function replaces the 'core/missing' block with the original Classic Template block that failed
352
+
* to render, allowing the block to be displayed correctly.
353
+
*
354
+
* @see {@link https://github.com/woocommerce/woocommerce-blocks/issues/9637|Issue: Block error is displayed on clearing customizations for Woo Templates}
// @todo Refactor when there will be possible to show a block according on a template/post with a Gutenberg API. https://github.com/WordPress/gutenberg/pull/41718
0 commit comments