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

WordPress Trac noreply at wordpress.org
Mon Sep 8 11:51:59 UTC 2025


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

Comment (by TobiasBg):

 @jonsurrell: The [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/class-wp-scripts.php?rev=60719#L229 comment] "The line-based
 sourceURL comments may a concatenated script and do not make sense when
 multiple are joined together." is missing the word "break", no?

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


More information about the wp-trac mailing list