[wp-trac] [WordPress Trac] #56313: wp_enqueue_script needs to be able to handle modules (ES6/ES2020)

WordPress Trac noreply at wordpress.org
Wed Sep 20 21:59:46 UTC 2023


#56313: wp_enqueue_script needs to be able to handle modules (ES6/ES2020)
---------------------------+--------------------------------------
 Reporter:  idad5          |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  javascript, performance
---------------------------+--------------------------------------

Comment (by Latz):

 +1

 Took me almost one hour to find the needed filter ("script_loader_tag")
 and the code doesn't look too professional neither.

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


More information about the wp-trac mailing list