[wp-trac] [WordPress Trac] #42083: Customize: Clean up longstanding annoyances in JS API
WordPress Trac
noreply at wordpress.org
Sun Oct 29 00:14:08 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:"42037"]:
{{{
#!CommitTicketReference repository="" revision="42037"
Customize: Support instantiation of partials with flat/unwrapped params
for parity with controls, sections, and panels in [41726].
* Passing `options.params` when constructing `Partial` is now deprecated
in favor of just passing `options`.
* Improve usage of jsdoc in JS `Partial` class.
* Also add `defaults` property to `wp.customize.selectiveRefresh.Partial`
class for parity with `Control`.
See #42083.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42083#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list