| @@ -93,11 +93,8 @@ | ||
| 93 | 93 | // Ensure backwards compatibility by flagging the number of columns via classname when using grid layout. |
| 94 | 94 | if ( isset( $attributes['layout']['type'] ) && 'grid' === $attributes['layout']['type'] && ! empty( $attributes['layout']['columnCount'] ) ) { |
| 95 | 95 | $classnames .= ' ' . sanitize_title( 'columns-' . $attributes['layout']['columnCount'] ); |
| 96 | 96 | } |
| 97 | - if ( isset( $attributes['layout']['type'] ) && 'grid' === $attributes['layout']['type'] && ! empty( $attributes['layout']['columnCount'] ) && ! empty( $attributes['layout']['minimumColumnWidth'] ) ) { | |
| 98 | - $classnames .= ' has-native-responsive-grid'; | |
| 99 | - } | |
| 100 | 97 | |
| 101 | 98 | $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => trim( $classnames ) ) ); |
| 102 | 99 | |
| 103 | 100 | $content = ''; |