Opened 7 years ago
Closed 7 years ago
#41192 closed defect (bug) (duplicate)
javascript comment in theme.php
Reported by: | pimplaatsman | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7 |
Component: | Customize | Keywords: | |
Focuses: | javascript | Cc: |
Description
Hi!
Since some site minifi their HTML "" comments in javascript break functionality.
For what I know now, the only occurrence is in theme.php:3040
change request:
The customizer requires postMessage and CORS (if the site is cross domain)
To:
/* The customizer requires postMessage and CORS (if the site is cross domain) */
Regards!
Pim
Note: See
TracTickets for help on using
tickets.
Sorry no double slashes, added extra space in between:
"/ / " comments in javascript break functionality.
change request:
/ / The customizer requires postMessage and CORS (if the site is cross domain)
To:
/* The customizer requires postMessage and CORS (if the site is cross domain) */
Replying to pimplaatsman: