Opened 8 years ago
Closed 8 years ago
#41793 closed defect (bug) (duplicate)
comment in wp-includes/theme.php > function wp_customize_support_script causing issues with minification
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Customize | Keywords: | |
Focuses: | javascript | Cc: |
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.
Hello @jiggaman, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #39482.