Opened 9 years ago
Closed 9 years ago
#41793 closed defect (bug) (duplicate)
comment in wp-includes/theme.php > function wp_customize_support_script causing issues with minification
| Reported by: | jiggaman | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Customize | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | javascript |
Description
in the file: wp-includes/theme.php
function wp_customize_support_script () contains a comment on line 3044:
The customizer requires postMessage and CORS (if the site is cross domain)
in some inline minification or white space removal plugins this causes issues...can we make the comment read:
/* The customizer requires postMessage and CORS (if the site is cross domain) */
and perhaps do that as a rule for all inline javascript comments?
Safety first!
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hello @jiggaman, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #39482.