[wp-trac] [WordPress Trac] #59566: Twenty Nineteen: The color palette shows incorrect names

WordPress Trac noreply at wordpress.org
Sat Oct 14 11:57:45 UTC 2023


#59566: Twenty Nineteen: The color palette shows incorrect names
-------------------------------------------------+-------------------------
 Reporter:  poena                                |       Owner:  poena
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.4
Component:  Bundled Theme                        |     Version:  5.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots has-       |     Focuses:
  testing-info commit                            |
-------------------------------------------------+-------------------------
Description changed by SergeyBiryukov:

Old description:

> 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 if the tooltip shows
> the correct text.
>
> **Expected result:**
> The tooltip of the first color should say "Blue"
> The tooltip of the second color should say "Dark blue"
>
> **Actual result:**
> The tooltip of the first and second colors shows a color code

New description:

 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 #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 if the tooltip shows
 the correct text.

 **Expected result:**
 The tooltip of the first color should say "Blue"
 The tooltip of the second color should say "Dark blue"

 **Actual result:**
 The tooltip of the first and second colors shows a color code

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59566#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list