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

Commit

Permalink
Add missing woocommerce class (#11919)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley authored Nov 23, 2023
1 parent 7ea573c commit 3b0b789
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 3b0b789

Please sign in to comment.