[wp-trac] [WordPress Trac] #21918: WP_Customize_Control() doesn't work with add_setting() default theme_mod type

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 18 13:40:30 UTC 2012


#21918: WP_Customize_Control() doesn't work with add_setting() default theme_mod
type
-------------------------------+------------------------------
 Reporter:  sebstyle           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Themes             |     Version:  3.4.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by scribu):

 Note that once you set a color through the UI, there is no way to clear
 it, so that you get the default value again.

 To test the default, you either need to remove the color via some code or
 change the $color variable.

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


More information about the wp-trac mailing list