[wp-trac] [WordPress Trac] #63887: Add sourceURL to inline scripts and styles
WordPress Trac
noreply at wordpress.org
Fri Aug 29 11:46:13 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 wildworks):
I think the changeset [60685] has caused an error in the customizer.
Please follow the steps below:
- Set `SCRIPT_DEBUG` to `false` (**Important**)
- Activate TT1 theme
- Access Appearance > Customize > Widgets
I don't know the exact reason, but it might be because the behavior of
`load-scripts.php` changes depending on the value of `SCRIPT_DEBUG`. Also,
I'm not sure if the source URL is necessary when SCRIPT_DEBUG is false.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63887#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list