[wp-trac] [WordPress Trac] #63887: Add sourceURL to inline scripts and styles

WordPress Trac noreply at wordpress.org
Fri Sep 19 01:47:01 UTC 2025


#63887: Add sourceURL to inline scripts and styles
--------------------------------------+------------------------------
 Reporter:  jonsurrell                |       Owner:  jonsurrell
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.9
Component:  Script Loader             |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  javascript, css
--------------------------------------+------------------------------

Comment (by westonruter):

 Also, in the case of adding actually stylesheet URLs as `sourceURL`
 comments, we should make sure that any `*/` in the URL gets URL-encoded so
 that the comment doesn't get prematurely closed.

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


More information about the wp-trac mailing list