Changeset 61620 for trunk/src/wp-includes/class-wp-theme-json.php
- Timestamp:
- 02/12/2026 05:43:12 AM (2 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-theme-json.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r61619 r61620 238 238 * @since 6.6.0 Added `background-[image|position|repeat|size]` properties. 239 239 * @since 6.7.0 Added `background-attachment` property. 240 * @since 7.0.0 Added `dimensions.width` .240 * @since 7.0.0 Added `dimensions.width` and `dimensions.height`. 241 241 * @var array 242 242 */ … … 303 303 'filter' => array( 'filter', 'duotone' ), 304 304 'box-shadow' => array( 'shadow' ), 305 'height' => array( 'dimensions', 'height' ), 305 306 'width' => array( 'dimensions', 'width' ), 306 307 'writing-mode' => array( 'typography', 'writingMode' ), … … 399 400 * @since 6.9.0 Added support for `border.radiusSizes`. 400 401 * @since 7.0.0 Added type markers to the schema for boolean values. 401 * Added support for `dimensions.width` .402 * Added support for `dimensions.width` and `dimensions.height`. 402 403 * @var array 403 404 */ … … 438 439 'aspectRatios' => null, 439 440 'defaultAspectRatios' => null, 441 'height' => null, 440 442 'minHeight' => null, 441 443 'width' => null, … … 533 535 * @since 6.5.0 Added support for `dimensions.aspectRatio`. 534 536 * @since 6.6.0 Added `background` sub properties to top-level only. 535 * @since 7.0.0 Added support for `dimensions.width` .537 * @since 7.0.0 Added support for `dimensions.width` and `dimensions.height`. 536 538 * @var array 537 539 */ … … 561 563 'dimensions' => array( 562 564 'aspectRatio' => null, 565 'height' => null, 563 566 'minHeight' => null, 564 567 'width' => null, … … 773 776 * @since 6.4.0 Added `background.backgroundImage`. 774 777 * @since 6.5.0 Added `background.backgroundSize` and `dimensions.aspectRatio`. 775 * @since 7.0.0 Added `dimensions.width` .778 * @since 7.0.0 Added `dimensions.width` and `dimensions.height`. 776 779 * @var array 777 780 */ … … 788 791 array( 'color', 'caption' ), 789 792 array( 'dimensions', 'aspectRatio' ), 793 array( 'dimensions', 'height' ), 790 794 array( 'dimensions', 'minHeight' ), 791 795 array( 'dimensions', 'width' ),
Note: See TracChangeset
for help on using the changeset viewer.