Editor: add `shadow.defaultPresets` to appearance tools opt-ins.

Props madhudollu.
Fixes #60633.
Built from https://develop.svn.wordpress.org/trunk@57717


git-svn-id: http://core.svn.wordpress.org/trunk@57218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2024-02-27 10:22:11 +00:00
parent 9f0595ab4a
commit 29a2c3a05a
2 changed files with 3 additions and 2 deletions

View File

@ -658,7 +658,7 @@ class WP_Theme_JSON {
* @since 6.0.0 * @since 6.0.0
* @since 6.2.0 Added `dimensions.minHeight` and `position.sticky`. * @since 6.2.0 Added `dimensions.minHeight` and `position.sticky`.
* @since 6.4.0 Added `background.backgroundImage`. * @since 6.4.0 Added `background.backgroundImage`.
* @since 6.5.0 Added `background.backgroundSize` and `dimensions.aspectRatio`. * @since 6.5.0 Added `background.backgroundSize`, `dimensions.aspectRatio`, and `shadow.defaultPresets`.
* @var array * @var array
*/ */
const APPEARANCE_TOOLS_OPT_INS = array( const APPEARANCE_TOOLS_OPT_INS = array(
@ -679,6 +679,7 @@ class WP_Theme_JSON {
array( 'spacing', 'margin' ), array( 'spacing', 'margin' ),
array( 'spacing', 'padding' ), array( 'spacing', 'padding' ),
array( 'typography', 'lineHeight' ), array( 'typography', 'lineHeight' ),
array( 'shadow', 'defaultPresets' ),
); );
/** /**

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.5-beta2-57716'; $wp_version = '6.5-beta2-57717';
/** /**
* 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.