Editor: Correct padding value for styles.elements.spacing in theme.json.

Each of the four directions must be defined separately based on the schema, otherwise the code editor will throw a validation error.

Follow-up to [54162].

Props aslamdoctor, wildworks.
Fixes #63374.
Built from https://develop.svn.wordpress.org/trunk@60217


git-svn-id: http://core.svn.wordpress.org/trunk@59553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2025-05-04 19:13:31 +00:00
parent 94a5ace753
commit bb9200b39e
2 changed files with 7 additions and 2 deletions

View File

@@ -373,7 +373,12 @@
"background": "#32373c"
},
"spacing": {
"padding": "calc(0.667em + 2px) calc(1.333em + 2px)"
"padding": {
"top": "calc(0.667em + 2px)",
"right": "calc(1.333em + 2px)",
"bottom": "calc(0.667em + 2px)",
"left": "calc(1.333em + 2px)"
}
},
"typography": {
"fontSize": "inherit",

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.9-alpha-60216';
$wp_version = '6.9-alpha-60217';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.