[wp-trac] [WordPress Trac] #46131: Scripts: Default package inline scripts missing semi-colons

WordPress Trac noreply at wordpress.org
Mon Jan 28 22:06:10 UTC 2019


#46131: Scripts: Default package inline scripts missing semi-colons
---------------------------+-------------------------
 Reporter:  aduth          |       Owner:  ocean90
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  5.1
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:  javascript
---------------------------+-------------------------

Comment (by aduth):

 Replying to [comment:1 swissspidy]:
 > I wonder if we can perhaps automatically detect this and add a semicolon
 if necessary when concatenating.

 I do think this would be a wise / simple enhancement, yes.

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


More information about the wp-trac mailing list