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

WordPress Trac noreply at wordpress.org
Thu Aug 28 14:44:45 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:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60686" 60686]:
 {{{
 #!CommitTicketReference repository="" revision="60686"
 Script Loader: Remove "inline:" prefix from sourceURL.

 The prefix may negatively impact some APIs such as the Long Animation
 Frames API.

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

 Follow-up to [60685].

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

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


More information about the wp-trac mailing list