[wp-trac] [WordPress Trac] #65165: Script module dependencies may be unavailable on evaluation
WordPress Trac
noreply at wordpress.org
Wed May 6 20:58:58 UTC 2026
#65165: Script module dependencies may be unavailable on evaluation
---------------------------+-------------------------
Reporter: jonsurrell | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: 7.0
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: javascript
---------------------------+-------------------------
Changes (by jorbin):
* priority: normal => high
Comment:
How much effort would be needed to update [61611] if the feature is
reverted? If it's low/medium effort, then option A seems like the best
option.
Otherwise, I would like to also propose an Option E: Throw a
`doing_it_wrong` if `module_dependencies` is set without `in_footer` as
`true` or `strategy` set as `defer`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65165#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list