[wp-trac] [WordPress Trac] #41126: Customizer does not work if both wp_footer() and wp_head() functions are not present in the theme.

WordPress Trac noreply at wordpress.org
Tue Jun 27 14:43:22 UTC 2017


#41126: Customizer does not work if both wp_footer() and wp_head() functions are
not present in the theme.
-------------------------+-----------------------------
 Reporter:  mdifelice    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Customize    |     Version:  4.7
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  administration
-------------------------+-----------------------------

Comment (by mdifelice):

 Hi @westonruter. I was making some tests and the previewerAlive state is
 set to true even if wp_head() is missing. And if wp_footer() is missing
 too, it is executed only once. I do not think that event will work for
 what I am asking for.

 This is something it could be detected in the page loading, since if
 wp_head() or wp_footer() are missing in the theme files, there is no way
 to dynamically load them.

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


More information about the wp-trac mailing list