[wp-trac] [WordPress Trac] #65363: wp-importmap comes too late in the DOM order
WordPress Trac
noreply at wordpress.org
Thu May 28 09:15:15 UTC 2026
#65363: wp-importmap comes too late in the DOM order
---------------------------+-----------------------------
Reporter: nonverbla | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version:
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
If there is a `<script type="module"></script>` in the `<head>` in `/wp-
admnin/`, the `<script id="wp-importmap" type="importmap">...<script>`
won't have any effect as it comes too late in the document flow. This
breaks the new connectors screen, for example.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65363>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list