[wp-trac] [WordPress Trac] #33488: _wp_customize_include() documentation

WordPress Trac noreply at wordpress.org
Fri Aug 21 19:01:14 UTC 2015


#33488: _wp_customize_include() documentation
--------------------------+-----------------------------
 Reporter:  ericlewis     |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.4
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by westonruter):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 There are more scenarios where `_wp_customize_include()` runs, actually.
 In Widget Customizer, for instance, `_wp_customize_include()` sets up the
 `WP_Customize_Manager` for `update-widget` Ajax POST requests. It's also
 used in Menu Customizer partial refresh Ajax requests.

 Basically the `wp_customize=on` request param is a signal for whether to
 bootstrap the Customizer when WordPress is loading. It's not necessarily
 tied to the preview frame.

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


More information about the wp-trac mailing list