[wp-trac] [WordPress Trac] #64429: Script Modules: Dependencies inherit fetchpriority from not-enqueued, registered modules
WordPress Trac
noreply at wordpress.org
Thu Dec 18 12:17:18 UTC 2025
#64429: Script Modules: Dependencies inherit fetchpriority from not-enqueued,
registered modules
---------------------------+-----------------------------
Reporter: jonsurrell | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version:
Severity: normal | Keywords:
Focuses: javascript |
---------------------------+-----------------------------
In [https://github.com/WordPress/wordpress-develop/pull/10638 PR 10638],
it was noticed that a script module's fetchpriority may increased to match
its dependent's fetchpriority even if that module is not enqueued.
It seems that the dependency's fetchpriority should only increase when an
enqueued dependent has a higher fetchpriority, not when any registered
dependent has a higher fetchpriority.
[60931] added the logic for module dependencies to increase their fetch
priority.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64429>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list