[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 Apr 19 15:35:56 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 agrabush):

 I'm of the opinion that if you are going to publish inline scripts with
 comments (which I don't think is proper for production), you should at
 least make sure it's a closed comment.

 I think the guys reviewing this just had a bad day. WordPress should be
 available, not just assuming any newbie trying to optimize has loads of
 experience. I still have people asking me to help with this every month or
 two.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39482#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list