Skip to content

Commit

Permalink
Switch dimensions block support back to using spacing key (#34030)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored Aug 12, 2021
1 parent 70f5a9e commit 0acd6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/block-supports/dimensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function gutenberg_skip_spacing_serialization( $block_type ) {

// Register the block support.
WP_Block_Supports::get_instance()->register(
'dimensions',
'spacing', // This is deliberately `spacing` instead of `dimensions` for backwards compatibility.
array(
'register_attribute' => 'gutenberg_register_dimensions_support',
'apply' => 'gutenberg_apply_dimensions_support',
Expand Down

0 comments on commit 0acd6c7

Please sign in to comment.