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

WordPress Trac noreply at wordpress.org
Sun Feb 1 02:25:41 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:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------

Comment (by westonruter):

 @ocean90: in [attachment:30988.4.diff]:

 * Restore `parse_post_values()` as `unsanitized_post_values()`
 (incorporating feedback above), since I just realized it is needed by
 #30936; use `array_key_exists` instead of `isset` to account for `null`
 values; improve PhpDoc: https://github.com/xwp/wordpress-
 develop/commit/23523a9c945c269d5f70b83beb3620cc304e0089
 * Add unit test for `WP_Customize_Manager`: https://github.com/xwp
 /wordpress-develop/commit/2fb9fd4d7b1f2d0d19a7b185b14ba800f6d68e72

 Full changes in PR: https://github.com/xwp/wordpress-develop/pull/62/files

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


More information about the wp-trac mailing list