Ticket #58597: 58597.diff
| File 58597.diff, 736 bytes (added by , 3 years ago) |
|---|
-
src/wp-includes/class-wp-theme-json-resolver.php
314 314 315 315 // Classic themes without a theme.json don't support global duotone. 316 316 $theme_support_data['settings']['color']['defaultDuotone'] = false; 317 318 // Allow themes to enable link colors via theme_support. 319 if ( current_theme_supports( 'link-color' ) ) { 320 $theme_support_data['settings']['color']['link'] = true; 321 } 317 322 } 318 323 $with_theme_supports = new WP_Theme_JSON( $theme_support_data ); 319 324 $with_theme_supports->merge( static::$theme );