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

WordPress Trac noreply at wordpress.org
Fri Aug 29 17:17:06 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 jonsurrell):

 In [changeset:"60690" 60690]:
 {{{
 #!CommitTicketReference repository="" revision="60690"
 Script Loader: Revert sourceURL addition.

 It was discovered that these changes cause some issues in the customizer
 when `SCRIPT_DEBUG` is `false`.

 Reverts [60685] and [60686].

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

 Props jonsurrell, wildworks, tyxla.
 See #63887.
 }}}

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


More information about the wp-trac mailing list