[wp-trac] [WordPress Trac] #64360: enqueue_block_assets action ignores script modules

WordPress Trac noreply at wordpress.org
Thu Dec 4 18:39:00 UTC 2025


#64360: enqueue_block_assets action ignores script modules
-------------------------+------------------------------
 Reporter:  jonsurrell   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript
-------------------------+------------------------------

Comment (by jonsurrell):

 I've have a functional implementation in https://github.com/WordPress
 /wordpress-develop/pull/10597 and
 https://github.com/WordPress/gutenberg/pull/73765.

 The changes seem straightforward, the only question may be around how to
 "clone" the global `$wp_script_modules` instance.

 I'm sharing the work informationally, not to reserve this task for myself
 if folks are interested in working on it.

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


More information about the wp-trac mailing list