Make WordPress Core

Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#65363 closed defect (bug) (duplicate)

wp-importmap comes too late in the DOM order

Reported by: nonverbla Owned by:
Priority: normal Milestone:
Component: Script Loader Version:
Severity: normal Keywords:
Cc: Focuses:

Description

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.

Change History (4)

#1 @westonruter
5 months ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Thanks for reporting.

I believe this is a duplicate of #65310. If not, please let me know.

#2 @westonruter
5 months ago

Sorry, I mean it is a duplicate of #65260 which may be fixed by #65310.

#3 @westonruter
5 months ago

Duplicate of #65260.

#4 @nonverbla
5 months ago

Yes, looks like a duplicate. Thanks for the quick feedback!

Note: See TracTickets for help on using tickets.