[wp-trac] [WordPress Trac] #63401: wp_localize_script() doesn't work with wp_register_script_module()

WordPress Trac noreply at wordpress.org
Tue May 6 16:36:33 UTC 2025


#63401: wp_localize_script() doesn't work with wp_register_script_module()
---------------------------+------------------------
 Reporter:  mondalaci      |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Script Loader  |     Version:  6.8
 Severity:  normal         |  Resolution:  duplicate
 Keywords:                 |     Focuses:
---------------------------+------------------------
Changes (by swissspidy):

 * status:  new => closed
 * resolution:   => duplicate
 * component:  General => Script Loader
 * milestone:  Awaiting Review =>


Comment:

 This is expected, because scripts ≠ modules.

 I18N for modules is still missing and is tracked in #60234.

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


More information about the wp-trac mailing list