Changeset 57717
- Timestamp:
- 02/27/2024 10:20:11 AM (8 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r57716 r57717 659 659 * @since 6.2.0 Added `dimensions.minHeight` and `position.sticky`. 660 660 * @since 6.4.0 Added `background.backgroundImage`. 661 * @since 6.5.0 Added `background.backgroundSize` and `dimensions.aspectRatio`.661 * @since 6.5.0 Added `background.backgroundSize`, `dimensions.aspectRatio`, and `shadow.defaultPresets`. 662 662 * @var array 663 663 */ … … 680 680 array( 'spacing', 'padding' ), 681 681 array( 'typography', 'lineHeight' ), 682 array( 'shadow', 'defaultPresets' ), 682 683 ); 683 684 -
trunk/tests/phpunit/tests/theme/wpThemeJson.php
r57716 r57717 294 294 'lineHeight' => true, 295 295 ), 296 'shadow' => array( 297 'defaultPresets' => true, 298 ), 296 299 'blocks' => array( 297 300 'core/paragraph' => array( … … 331 334 'typography' => array( 332 335 'lineHeight' => false, 336 ), 337 'shadow' => array( 338 'defaultPresets' => true, 333 339 ), 334 340 ),
Note: See TracChangeset
for help on using the changeset viewer.