[wp-trac] [WordPress Trac] #62435: Preload script modules and enqueue script modules in wrong order

WordPress Trac noreply at wordpress.org
Fri Nov 15 04:51:45 UTC 2024


#62435: Preload script modules and enqueue script modules in wrong order
---------------------------+------------------------------
 Reporter:  yogeshbhutkar  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by yogeshbhutkar):

 As per the issue, I was able to replicate the bug. The modulepreload is
 enlisted after loading module scripts. Whereas, I believe, the preload
 should happen before. Source: https://developer.mozilla.org/en-
 US/docs/Web/HTML/Attributes/rel/modulepreload

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


More information about the wp-trac mailing list