Fix condition to allow rendering classic templates (https://github.com/woocommerce/woocommerce-blocks/pull/6643)
This commit is contained in:
parent
e7eb8a6dd5
commit
b5b454ad42
|
@ -46,7 +46,7 @@ class ClassicTemplate extends AbstractDynamicBlock {
|
|||
* @return string | void Rendered block type output.
|
||||
*/
|
||||
protected function render( $attributes, $content ) {
|
||||
if ( isset( $attributes['template'] ) ) {
|
||||
if ( ! isset( $attributes['template'] ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue