[wp-trac] [WordPress Trac] #39482: wp_customize_support_script() has a javascript comment which breaks one-lined html.
WordPress Trac
noreply at wordpress.org
Fri Jan 6 00:15:40 UTC 2017
#39482: wp_customize_support_script() has a javascript comment which breaks one-
lined html.
-------------------------------+------------------------------
Reporter: agrabush | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by westonruter):
* keywords: => reporter-feedback
Comment:
@agrabush thanks for the report. What is the software you're using which
has a problem with such inline comments? If it is some minifier, to me it
seems that it is at fault for not first stripping out comments. There's
nothing wrong with a single line `//` comment that makes it preferable to
the multi-line `/* ... */` comment syntax.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39482#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list