[wp-trac] [WordPress Trac] #41192: javascript comment in theme.php

WordPress Trac noreply at wordpress.org
Wed Jun 28 09:40:27 UTC 2017


#41192: javascript comment in theme.php
--------------------------+-----------------------------
 Reporter:  pimplaatsman  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.7
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 Hi!

 Since some site minifi their HTML "//" comments in javascript break
 functionality.
 For what I know now, the only occurrence is in theme.php:3040

 change request:
 // The customizer requires postMessage and CORS (if the site is cross
 domain)
 To:
 /* The customizer requires postMessage and CORS (if the site is cross
 domain) */

 Regards!
 Pim

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41192>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list