Changeset 55285
- Timestamp:
- 02/07/2023 05:59:44 PM (19 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r55255 r55285 305 305 * @since 6.0.0 Added `color.defaultDuotone`. 306 306 * @since 6.1.0 Added `layout.definitions` and `useRootPaddingAwareAlignments`. 307 * @since 6.2.0 Added `dimensions.minHeight`, 'shadow.presets', and 'shadow.defaultPresets'. 307 * @since 6.2.0 Added `dimensions.minHeight`, 'shadow.presets', 'shadow.defaultPresets', 308 * `position.fixed` and `position.sticky`. 308 309 * @var array 309 310 */ … … 339 340 'definitions' => null, 340 341 'wideSize' => null, 342 ), 343 'position' => array( 344 'fixed' => null, 345 'sticky' => null, 341 346 ), 342 347 'spacing' => array( … … 514 519 * 515 520 * @since 6.0.0 516 * @since 6.2.0 Added `dimensions.minHeight` .521 * @since 6.2.0 Added `dimensions.minHeight` and `position.sticky`. 517 522 * @var array 518 523 */ … … 524 529 array( 'color', 'link' ), 525 530 array( 'dimensions', 'minHeight' ), 531 array( 'position', 'sticky' ), 526 532 array( 'spacing', 'blockGap' ), 527 533 array( 'spacing', 'margin' ), -
trunk/src/wp-settings.php
r55255 r55285 337 337 require ABSPATH . WPINC . '/block-supports/generated-classname.php'; 338 338 require ABSPATH . WPINC . '/block-supports/layout.php'; 339 require ABSPATH . WPINC . '/block-supports/position.php'; 339 340 require ABSPATH . WPINC . '/block-supports/spacing.php'; 340 341 require ABSPATH . WPINC . '/block-supports/typography.php'; -
trunk/tests/phpunit/tests/theme/wpThemeJson.php
r55246 r55285 275 275 'minHeight' => true, 276 276 ), 277 'position' => array( 278 'sticky' => true, 279 ), 277 280 'spacing' => array( 278 281 'blockGap' => false, … … 301 304 'dimensions' => array( 302 305 'minHeight' => true, 306 ), 307 'position' => array( 308 'sticky' => true, 303 309 ), 304 310 'spacing' => array(
Note: See TracChangeset
for help on using the changeset viewer.