Changeset 60892 for trunk/src/wp-includes/class-wp-theme-json.php
- Timestamp:
- 10/02/2025 11:53:19 PM (8 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-theme-json.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r60809 r60892 127 127 * Updated the 'prevent_override' value for font size presets to use 'typography.defaultFontSizes' 128 128 * and spacing size presets to use `spacing.defaultSpacingSizes`. 129 * @since 6.9.0 Added `border.radiusSizes`. 129 130 * @var array 130 131 */ … … 206 207 'properties' => array( 'box-shadow' ), 207 208 ), 209 array( 210 'path' => array( 'border', 'radiusSizes' ), 211 'prevent_override' => false, 212 'use_default_names' => false, 213 'value_key' => 'size', 214 'css_vars' => '--wp--preset--border-radius--$slug', 215 'classes' => array(), 216 'properties' => array( 'border-radius' ), 217 ), 208 218 ); 209 219 … … 385 395 * @since 6.6.0 Added support for 'dimensions.aspectRatios', 'dimensions.defaultAspectRatios', 386 396 * 'typography.defaultFontSizes', and 'spacing.defaultSpacingSizes'. 397 * @since 6.9.0 Added support for `border.radiusSizes`. 387 398 * @var array 388 399 */ … … 395 406 ), 396 407 'border' => array( 397 'color' => null, 398 'radius' => null, 399 'style' => null, 400 'width' => null, 408 'color' => null, 409 'radius' => null, 410 'radiusSizes' => null, 411 'style' => null, 412 'width' => null, 401 413 ), 402 414 'color' => array(
Note: See TracChangeset
for help on using the changeset viewer.