[wp-trac] [WordPress Trac] #64229: Enqueueing scripts, styles, and script modules should warn when dependencies are missing
WordPress Trac
noreply at wordpress.org
Wed Jan 28 21:28:23 UTC 2026
#64229: Enqueueing scripts, styles, and script modules should warn when
dependencies are missing
-------------------------------------+-------------------------------------
Reporter: westonruter | Owner: westonruter
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.9.1
Component: Script Loader | Version: 6.9
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit- | Focuses: javascript,
tests | performance
-------------------------------------+-------------------------------------
Changes (by jorbin):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"61550" 61550]:
{{{
#!CommitTicketReference repository="" revision="61550"
Script Loader: Emit notices when enqueueing a script, style, or script
module with missing dependencies.
First Developed in https://github.com/WordPress/wordpress-
develop/pull/10545. Backport developed in https://github.com/WordPress
/wordpress-develop/pull/10789.
Follow-up to [60999].
Reviewed by jorbin, wildworks.
Merges [61323], [61357], and [61542].
Props deepakprajapati, westonruter, mukeshpanchal27, jorbin, wildworks.
See #63486.
Fixes #64229.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64229#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list