[wp-trac] [WordPress Trac] #42083: Customize: Clean up longstanding annoyances in JS API

WordPress Trac noreply at wordpress.org
Sun Oct 29 03:07:33 UTC 2017


#42083: Customize: Clean up longstanding annoyances in JS API
-------------------------+--------------------------
 Reporter:  westonruter  |       Owner:  westonruter
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.9
Component:  Customize    |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  commit       |     Focuses:
-------------------------+--------------------------

Comment (by westonruter):

 In [changeset:"42038"]:
 {{{
 #!CommitTicketReference repository="" revision="42038"
 Customize: Fix interface alignment between `Setting` and `Control`, adding
 `defaults` to `wp.customize.Setting` and using `wp.customize.previewer` as
 default `previewer` param.

 Also move jsdoc from class to `initialize` method and correct the param
 types.

 Amends [41726], [42037], [32681].
 See #42083, #30737.
 }}}

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


More information about the wp-trac mailing list