[wp-trac] [WordPress Trac] #30988: Setting's default value doesn't apply on preview window

WordPress Trac noreply at wordpress.org
Sun Jan 18 17:13:24 UTC 2015


#30988: Setting's default value doesn't apply on preview window
-------------------------------------------------+-------------------------
 Reporter:  Aniruddh                             |       Owner:  ocean90
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  4.1.1
Component:  Customize                            |     Version:  4.1
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing reporter-feedback      |     Focuses:
  has-patch                                      |  administration
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  needs-testing needs-patch reporter-feedback => needs-testing
     reporter-feedback has-patch
 * owner:  westonruter => ocean90


Comment:

 I couldn't reproduce any defect with the patch I wrote, and it does fix a
 flaw where default values fail to apply (though in reality any default
 value supplied to the `WP_Customize_Setting` should be used as the second
 `$default` arg to `get_option` and `get_theme_mod` anyway).

 @Aniruddh: Please provide more detailed steps to reproduce the problem, if
 it still exists with the patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30988#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list