From 44c2d5685a161b9a7b52a8f743e7fb96b2cf5666 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 13 Mar 2024 11:12:16 +0000 Subject: [PATCH] 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. Props wildworks, vcanales, madhudollu, swissspidy, youknowriad. Fixes #60633 Built from https://develop.svn.wordpress.org/trunk@57827 git-svn-id: http://core.svn.wordpress.org/trunk@57328 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.json | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/theme.json b/wp-includes/theme.json index d9ed47816c..3ce416d62e 100644 --- a/wp-includes/theme.json +++ b/wp-includes/theme.json @@ -191,7 +191,7 @@ "text": true }, "shadow": { - "defaultPresets": true, + "defaultPresets": false, "presets": [ { "name": "Natural", diff --git a/wp-includes/version.php b/wp-includes/version.php index da7a0527cb..1905f6890a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-57826'; +$wp_version = '6.6-alpha-57827'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.