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

Add missing woocommerce classname to Classic Cart/Checkout Blocks container #11919

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/BlockTypes/ClassicShortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']}";
Expand Down
Loading