Editor: disable `shadow.defaultPresets` in default `theme.json`.

This is a follow-up to [57717] to ensure that classic themes without a `theme.json` file or without `appearanceTools: true` in `theme.json` do not have shadow controls by default.

Reviewed by youknowriad.
Merges [57827] to the to the 6.5 branch.

Props wildworks, vcanales, madhudollu, swissspidy, youknowriad.
Fixes #60633
Built from https://develop.svn.wordpress.org/branches/6.5@57828


git-svn-id: http://core.svn.wordpress.org/branches/6.5@57329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2024-03-13 11:24:11 +00:00
parent 412b7647c4
commit 22ceb67be0
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@
"text": true "text": true
}, },
"shadow": { "shadow": {
"defaultPresets": true, "defaultPresets": false,
"presets": [ "presets": [
{ {
"name": "Natural", "name": "Natural",

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.5-RC2-57825'; $wp_version = '6.5-RC2-57828';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.