[wp-trac] [WordPress Trac] #50857: ColorPicker issue in new WordPress 5.5

WordPress Trac noreply at wordpress.org
Wed Aug 5 09:53:38 UTC 2020


#50857: ColorPicker issue in new WordPress 5.5
--------------------------+-----------------------------
 Reporter:  juliarrr      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi,

 I'm testing new Release Candidate 2 and there is an issue with color
 picker:
 wpColorPickerL10n is not defined.

 It happens because there is no script that was in the previous WordPress
 versions.

 {{{
 <script>
 var wpColorPickerL10n = {"clear":"Clear","clearAriaLabel":"Clear
 color","defaultString":"Default","defaultAriaLabel":"Select default
 color","pick":"Select Color","defaultLabel":"Color value"};
 </script>
 }}}


 Can you add it into the new version?
 Thank you!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50857>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list