Opened 9 years ago
Closed 9 years ago
#41192 closed defect (bug) (duplicate)
javascript comment in theme.php
| Reported by: | pimplaatsman | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Customize | Version: | 4.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | javascript |
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
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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: