Make WordPress Core


Ignore:
Timestamp:
05/24/2021 06:56:09 PM (4 years ago)
Author:
jorgefilipecosta
Message:

Block Editor: Update color merging algorithm.

The npm packages in use were published a few hours ago, which include some changes to how we manage colors. This commit adds the corresponding PHP changes.

Props nosolosw.
See #53175.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme/wpThemeJson.php

    r50973 r50977  
    410410                    'palette'        => array(
    411411                        array(
     412                            'slug'  => 'red',
     413                            'color' => 'red',
     414                        ),
     415                        array(
     416                            'slug'  => 'green',
     417                            'color' => 'green',
     418                        ),
     419                        array(
    412420                            'slug'  => 'blue',
    413421                            'color' => 'blue',
Note: See TracChangeset for help on using the changeset viewer.