[wp-trac] [WordPress Trac] #21690: Allow Farbtastic color picker to clear a color choice

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 27 01:39:08 UTC 2012


#21690: Allow Farbtastic color picker to clear a color choice
-------------------------+-----------------------
 Reporter:  mbijon       |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:
Component:  Themes       |     Version:  3.4.1
 Severity:  normal       |  Resolution:
 Keywords:  ux-feedback  |
-------------------------+-----------------------
Changes (by jazbek):

 * cc: j.yzbek@… (added)
 * status:  closed => reopened
 * resolution:  duplicate =>


Comment:

 This actually has nothing to do with farbtastic, it's a bug in the regex
 that validates the color code. It's not allowing empty values. If you fix
 the regex, then the color can be cleared. I have added a patch above.

 Reopening because this bug would probably be an issue with any color
 picker.

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


More information about the wp-trac mailing list