PluginProbe
Gutenberg / 17.0.2
Gutenberg v17.0.2
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | lib/block-supports/spacing.php +1 -1 23.7.0 → 17.0.2 View file →
@@ -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 }