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

WordPress Trac noreply at wordpress.org
Mon Oct 9 08:41:38 UTC 2023


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

Comment (by ugyensupport):

 == Bug Report
 === 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.

 === Environment
 - WordPress: 6.4-beta2-56802
 - PHP: 8.0.0
 - Server: Apache/2.4.10 (Debian)
 - Database: mysqli (Server: 5.5.59-MariaDB-1~wheezy / Client: 5.5.62)
 - Browser: Chrome 117.0.0.0 (macOS)
 - Theme: Twenty Nineteen 2.6
 - MU-Plugins: None activated
 - Plugins:
   * WordPress Beta Tester 3.5.4

 === Steps to Reproduce
 1. 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.
 🐞 Bug occurs.

 === Expected Results
 1.  ✅ The tooltip of the first color should say "Blue"
     ✅ The tooltip of the second color should say "Dark blue"

 === Actual Results
 1.  After patch - https://ibb.co/7k4M4BG

 === Remark
 I would agree with @mukesh27 It would be great to see this change in
 WordPress 6.4

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


More information about the wp-trac mailing list