From b103c7d86f82cad82e174baa5f62ace6fb365e9f Mon Sep 17 00:00:00 2001 From: Glen Davies Date: Fri, 30 Sep 2022 13:18:31 +1300 Subject: [PATCH] Remove the invalid spacing preset setting (#44555) --- lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php b/lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php index 5c1639d3d2ce6b..c4b6935142dc3a 100644 --- a/lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php +++ b/lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php @@ -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' ), - ), ); /**