[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 Jun 28 10:41:12 UTC 2017
#39482: wp_customize_support_script() has a javascript comment which breaks one-
lined html.
--------------------------+----------------------
Reporter: agrabush | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Customize | Version: 4.7
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
--------------------------+----------------------
Comment (by SergeyBiryukov):
Replying to [comment:6 madvic]:
> It is so hard to change comment {{{//}}} by {{{ /*..*/ }}} ?
It's not hard, but the same issue could happen in a plugin or theme, which
would be hard to track down, so in the long run I think it's better to use
proper minification tools that handle JS comments correctly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39482#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list