[wp-trac] [WordPress Trac] #39482: wp_customize_support_script() has a javascript comment which breaks one-lined html.

WordPress Trac noreply at wordpress.org
Wed Feb 28 04:04:39 UTC 2018


#39482: wp_customize_support_script() has a javascript comment which breaks one-
lined html.
--------------------------+-----------------------
 Reporter:  agrabush      |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Customize     |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------
Changes (by dylanfitzger):

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


Comment:

 Site speed is of top concern for me. I use HTML compression on many of my
 sites, but this comment causes a lot of problems. JS Console error
 “Uncaught SyntaxError: Unexpected end of input”. Why aren't we able to fix
 this issue?

 Comment at line 3030 of wp-includes/theme.php: “// The customizer requires
 postMessage and CORS (if the site is cross domain)”

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


More information about the wp-trac mailing list