Skip to content

Commit

Permalink
Allow default duotone styles in classic themes. (#57191)
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines authored and artemiomorales committed Jan 4, 2024
1 parent 9a3f853 commit f9f33ce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/class-wp-theme-json-resolver-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,6 @@ public static function get_theme_data( $deprecated = array(), $options = array()
}
$theme_support_data['settings']['color']['defaultGradients'] = $default_gradients;

// Classic themes without a theme.json don't support global duotone.
$theme_support_data['settings']['color']['defaultDuotone'] = false;

// Allow themes to enable all border settings via theme_support.
if ( current_theme_supports( 'border' ) ) {
$theme_support_data['settings']['border']['color'] = true;
Expand Down

0 comments on commit f9f33ce

Please sign in to comment.