Skip to content

Commit

Permalink
Remove the invalid spacing preset setting (#44555)
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz authored and ockham committed Oct 4, 2022
1 parent 97c78f5 commit b103c7d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php
Original file line number Diff line number Diff line change
Expand Up @@ -1151,15 +1151,6 @@ protected static function get_property_value( $styles, $path, $theme_json = null
'classes' => array(),
'properties' => array( 'padding', 'margin' ),
),
array(
'path' => array( 'spacing', 'spacingScale' ),
'prevent_override' => false,
'use_default_names' => true,
'value_key' => 'size',
'css_vars' => '--wp--preset--spacing--$slug',
'classes' => array(),
'properties' => array( 'padding', 'margin' ),
),
);

/**
Expand Down

0 comments on commit b103c7d

Please sign in to comment.