From 3b0b789bc6a0f5401862dd0192d6d6b35efb35f3 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 23 Nov 2023 12:35:13 +0000 Subject: [PATCH] Add missing woocommerce class (#11919) --- src/BlockTypes/ClassicShortcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BlockTypes/ClassicShortcode.php b/src/BlockTypes/ClassicShortcode.php index 0db6af24f25..8ad3a705d33 100644 --- a/src/BlockTypes/ClassicShortcode.php +++ b/src/BlockTypes/ClassicShortcode.php @@ -67,7 +67,7 @@ protected function render( $attributes, $content, $block ) { * @return string space-separated list of classes. */ protected function get_container_classes( $attributes = array() ) { - $classes = array( 'wp-block-group' ); + $classes = array( 'woocommerce', 'wp-block-group' ); if ( isset( $attributes['align'] ) ) { $classes[] = "align{$attributes['align']}";