[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
Tue Oct 7 15:00:55 UTC 2014


#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    |     Focuses:  administration
-------------------------+-----------------------------

Comment (by wonderboymusic):

 man, those iOS-length method names...

 I like the @westonruter approach. For most of our JS in WP, we should be
 creating libraries, and then have the page they are loaded on instantiate
 them, either inline or a new file for the instance. That way, something
 like post.js or whatever just instantiates instances, instead of the
 library file having a docReady blob.

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


More information about the wp-trac mailing list