[wp-trac] [WordPress Trac] #59566: Twenty Ninteen: The color palette shows incorrect names
WordPress Trac
noreply at wordpress.org
Mon Oct 9 06:00:55 UTC 2023
#59566: Twenty Ninteen: The color palette shows incorrect names
---------------------------+-----------------------------
Reporter: poena | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
In the block editor, the first two colors in the theme's color palette
shows incorrect names.
Instead of the names "Blue" and "Dark blue", the editor shows the color
code.
The color code is only intended to show when the user has enabled the
custom color option in the Customizer.
This is a follow up to https://core.trac.wordpress.org/ticket/46698
== Testing instructions
First, if you are not using a fresh install, please reset your WordPress
installation.
This is needed to make sure that you have not already saved a value for
the custom color option in the customizer.
This is because the default value for the customizer option is
{{{false}}}, and this value is changed to the string "custom" if you have
enabled the color option, and the string "default" if you have enabled the
custom color and then set it back to default colors.
Activate Twenty Nineteen.
Open the block editor.
Select any block with a color option, for example a paragraph.
Select the color option to open the color selection modal.
Hover over the first and second colors and confirm that the tooltip shows
the color codes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59566>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list