Changeset 56101 for trunk/src/wp-includes/class-wp-theme-json.php
- Timestamp:
- 06/29/2023 06:19:41 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r56083 r56101 115 115 * `prevent_override` value for `color.duotone` to use `color.defaultDuotone`. 116 116 * @since 6.2.0 Added 'shadow' presets. 117 * @since 6.3.0 Replaced value_func for duotone with `null`. Custom properties are handled by class-wp-duotone.php. 117 118 * @var array 118 119 */ … … 144 145 'prevent_override' => array( 'color', 'defaultDuotone' ), 145 146 'use_default_names' => false, 146 'value_func' => 'wp_get_duotone_filter_property',147 'css_vars' => '--wp--preset--duotone--$slug',147 'value_func' => null, // CSS Custom Properties for duotone are handled by block supports in class-wp-duotone.php. 148 'css_vars' => null, 148 149 'classes' => array(), 149 150 'properties' => array( 'filter' ),
Note: See TracChangeset
for help on using the changeset viewer.