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

WordPress Trac noreply at wordpress.org
Mon Jan 12 18:33:23 UTC 2015


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

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => 4.1.1


Comment:

 I believe this is a regression introduced by [30102] in #28580. Now that
 we only POST settings to the Customizer preview if they have actually been
 changes in them (if they're dirty), the preview filter needs to be updated
 to use the setting's default value if the option/theme_mod doesn't already
 exist.

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


More information about the wp-trac mailing list