[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
Sat Jan 3 01:24:00 UTC 2015
#29071: Make it easier to include an instance of the Customizer outside of
customize.php
-------------------------------------+-----------------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: administration
-------------------------------------+-----------------------------
Comment (by wonderboymusic):
That would the longest symbol in the WordPress JS codebase, second only to
`wp.customize.Widgets.getSidebarWidgetControlContainingWidget`, which I
also dislike.
At this point, I'm not even sure that the approach is correct. The main
problem here is that the file provides an API and produces side-effects.
It should not produce side effects (as we discussed at the Community
Summit).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29071#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list