[wp-trac] [WordPress Trac] #26385: Color picker doesn't display initial colour

WordPress Trac noreply at wordpress.org
Wed Dec 4 17:58:25 UTC 2013


#26385: Color picker doesn't display initial colour
--------------------------+-----------------------------
 Reporter:  pkwooster     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Appearance    |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  3.9-early     |
--------------------------+-----------------------------

Comment (by pkwooster):

 Hi, thanks for the attention to this.  I found a workaround:
 {{{
             <style>
                 .wp-color-result:hover,
                 .wp-color-result{
                     background-color:#<?php echo $color ?>;
                 }
             </style>
 }}}
 where $color is the current value, before the call to the color-picker.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26385#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list