Changeset 55176 for trunk/src/wp-includes/class-wp-theme-json.php
- Timestamp:
- 02/01/2023 06:05:44 PM (3 years 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
r55175 r55176 116 116 * @since 6.0.0 Replaced `override` with `prevent_override` and updated the 117 117 * `prevent_override` value for `color.duotone` to use `color.defaultDuotone`. 118 * @since 6.2.0 Added 'shadow' presets. 118 119 * @var array 119 120 */ … … 177 178 'properties' => array( 'padding', 'margin' ), 178 179 ), 180 array( 181 'path' => array( 'shadow', 'presets' ), 182 'prevent_override' => array( 'shadow', 'defaultPresets' ), 183 'use_default_names' => false, 184 'value_key' => 'shadow', 185 'css_vars' => '--wp--preset--shadow--$slug', 186 'classes' => array(), 187 'properties' => array( 'box-shadow' ), 188 ), 179 189 ); 180 190 … … 295 305 * @since 6.0.0 Added `color.defaultDuotone`. 296 306 * @since 6.1.0 Added `layout.definitions` and `useRootPaddingAwareAlignments`. 297 * @since 6.2.0 Added `dimensions.minHeight` .307 * @since 6.2.0 Added `dimensions.minHeight`, 'shadow.presets', and 'shadow.defaultPresets'. 298 308 * @var array 299 309 */ … … 338 348 'padding' => null, 339 349 'units' => null, 350 ), 351 'shadow' => array( 352 'presets' => null, 353 'defaultPresets' => null, 340 354 ), 341 355 'typography' => array(
Note: See TracChangeset
for help on using the changeset viewer.