[wp-trac] [WordPress Trac] #29071: Make it easier to include an instance of the Customizer outside of customize.php
WordPress Trac
noreply at wordpress.org
Sun Jun 26 11:54:27 UTC 2016
#29071: Make it easier to include an instance of the Customizer outside of
customize.php
-------------------------+-----------------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: | Focuses: administration
-------------------------+-----------------------------
Comment (by westonruter):
In [changeset:"37867"]:
{{{
#!CommitTicketReference repository="" revision="37867"
Customize: Always define functions `reflowPaneContents`,
`findControlsForSettings`, and `_handleSettingValidities` on
`wp.customize`.
Moves definitions of functions outside of a `jQuery.ready()` callback, as
these functions needn't be deferred to DOM ready. This change also ensures
that the functions are available if `customize-controls` is enqueued
outside of the Customizer context, as the ready callback short-circuits if
`_wpCustomizeSettings` is not defined. The `findControlsForSettings` and
`_handleSettingValidities` functions were misplaced in r37700.
See #34893.
See #36944.
See #29071.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29071#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list