[wp-trac] [WordPress Trac] #37981: template_include not working in customizer previewer

WordPress Trac noreply at wordpress.org
Sun Sep 18 05:32:27 UTC 2016


#37981: template_include not working in customizer previewer
--------------------------+-----------------------------------------
 Reporter:  jaschaio      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  4.6.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript, administration
--------------------------+-----------------------------------------

Comment (by westonruter):

 @jaschaio you have to make sure that the `wp_head()` and `wp_footer()`
 calls are made so that scripts are printed. If `customize-preview.js`
 isn't output, then the loaded page won't be able to communicate to the
 parent frame that the page has finished loading. This issue actually came
 up recently elsewhere: https://github.com/Automattic/amp-
 wp/issues/477#issuecomment-247679386

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


More information about the wp-trac mailing list