Skip to content

Commit

Permalink
Global Styles: Allow custom properties to merge (#31840)
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian authored Jun 24, 2021
1 parent 39c26cb commit 0dac4e2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,6 @@ public function merge( $incoming ) {
// For leaf values that are arrays it will use the numeric indexes for replacement.
// In those cases, we want to replace the existing with the incoming value, if it exists.
$to_replace = array();
$to_replace[] = array( 'custom' );
$to_replace[] = array( 'spacing', 'units' );
$to_replace[] = array( 'color', 'duotone' );
foreach ( self::VALID_ORIGINS as $origin ) {
Expand Down

0 comments on commit 0dac4e2

Please sign in to comment.