[wp-trac] [WordPress Trac] #25094: Twenty Fourteen: Audit Theme Customization Options

WordPress Trac noreply at wordpress.org
Mon Sep 2 16:17:23 UTC 2013


#25094: Twenty Fourteen: Audit Theme Customization Options
------------------------------+--------------------
 Reporter:  celloexpressions  |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.8
Component:  Bundled Theme     |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+--------------------

Comment (by obenland):

 Replying to [comment:20 celloexpressions]:
 > Just noticed a bug - we'll need to extract the primary color from the
 array when the customizer first loads. Closing then reopening the
 customizer currently throws a ton of errors.

 Yes, not sure what I was thinking there. Giving both values their own
 theme mod should work just as well. Prior to passing `$color` to the
 adjustment function, we should sanitize it with `sanitize_hex_color()`.

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


More information about the wp-trac mailing list