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

WordPress Trac noreply at wordpress.org
Thu Aug 28 07:54:37 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
--------------------------------------+------------------------------
Changes (by jonsurrell):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60685" 60685]:
 {{{
 #!CommitTicketReference repository="" revision="60685"
 Script Loader: Add sourceURL to inline scripts and styles.

 Improve the source locations referenced by developer tooling in supporting
 browsers. Inline source locations are named like `inline:handle-js-after`
 and appear in the developer tools "sources" panel.

 Developed in https://github.com/WordPress/wordpress-develop/pull/9628.

 Props jonsurrell, swissspidy, alshakero, westonruter.
 Fixes #63887.
 }}}

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


More information about the wp-trac mailing list