[wp-trac] [WordPress Trac] #64229: Enqueueing scripts and script modules should warn when dependencies are missing

WordPress Trac noreply at wordpress.org
Wed Dec 3 18:03:05 UTC 2025


#64229: Enqueueing scripts and script modules should warn when dependencies are
missing
--------------------------------------+--------------------------
 Reporter:  westonruter               |       Owner:  westonruter
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.9.1
Component:  Script Loader             |     Version:  6.9
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  javascript
--------------------------------------+--------------------------
Changes (by westonruter):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests
 * status:  closed => reopened
 * resolution:  fixed =>
 * milestone:  7.0 => 6.9.1


Comment:

 Given the change in behavior in 6.9 where script modules with missing
 dependencies are no longer printed, it may be that sites will start
 breaking where previously they worked in 6.8. This was reported as a big
 in #64342. Given this, I think we should re-milestone the missing
 dependency notices for 6.9.1.

 The doclocks added in [61323] will need to have their `@since` tags
 updated to 6.9.1.

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


More information about the wp-trac mailing list