| @@ -45,9 +45,9 @@ | ||
| 45 | 45 | |
| 46 | 46 | $attributes = array(); |
| 47 | 47 | $has_padding_support = block_has_support( $block_type, array( 'spacing', 'padding' ), false ); |
| 48 | 48 | $has_margin_support = block_has_support( $block_type, array( 'spacing', 'margin' ), false ); |
| 49 | - $block_styles = $block_attributes['style'] ?? null; | |
| 49 | + $block_styles = isset( $block_attributes['style'] ) ? $block_attributes['style'] : null; | |
| 50 | 50 | |
| 51 | 51 | if ( ! $block_styles ) { |
| 52 | 52 | return $attributes; |
| 53 | 53 | } |