Changeset 57885 for trunk/src/wp-includes/class-wp-theme-json-resolver.php
- Timestamp:
- 03/27/2024 03:58:46 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r57260 r57885 312 312 } 313 313 $theme_support_data['settings']['color']['defaultGradients'] = $default_gradients; 314 315 if ( ! isset( $theme_support_data['settings']['shadow'] ) ) { 316 $theme_support_data['settings']['shadow'] = array(); 317 } 318 /* 319 * Shadow presets are explicitly disabled for classic themes until a 320 * decision is made for whether the default presets should match the 321 * other presets or if they should be disabled by default in classic 322 * themes. See https://github.com/WordPress/gutenberg/issues/59989. 323 */ 324 $theme_support_data['settings']['shadow']['defaultPresets'] = false; 314 325 315 326 // Allow themes to enable link color setting via theme_support.
Note: See TracChangeset
for help on using the changeset viewer.