[wp-trac] [WordPress Trac] #64342: wp_enqueue_script_module stopped working on 6.9

WordPress Trac noreply at wordpress.org
Wed Dec 3 16:21:44 UTC 2025


#64342: wp_enqueue_script_module stopped working on 6.9
-------------------------------------------+------------------------------
 Reporter:  intdef                         |       Owner:  (none)
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Script Loader                  |     Version:  6.9
 Severity:  major                          |  Resolution:
 Keywords:  needs-patch reporter-feedback  |     Focuses:  javascript
-------------------------------------------+------------------------------

Comment (by mindctrl):

 @intdef thank you. It's my understanding that script modules can't rely on
 classic scripts like jQuery, which you have as a dependency on `swiper`.
 See the Limitations section here:
 https://make.wordpress.org/core/2024/03/04/script-modules-in-6-5/

 Which version of WP were you using before upgrading to 6.9?

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


More information about the wp-trac mailing list