[wp-trac] [WordPress Trac] #51124: Can we get an additional parameter in wp_add_inline_script to set the script type?

WordPress Trac noreply at wordpress.org
Fri May 21 21:25:18 UTC 2021


#51124: Can we get an additional parameter in wp_add_inline_script to set the
script type?
--------------------------------------+-----------------------
 Reporter:  hcabrera                  |       Owner:  audrasjb
     Type:  feature request           |      Status:  accepted
 Priority:  normal                    |   Milestone:  5.8
Component:  Script Loader             |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------
Changes (by audrasjb):

 * owner:  (none) => audrasjb
 * status:  new => accepted
 * milestone:  Awaiting Review => 5.8


Comment:

 Thank you for the update. All looks good to me.
 Moving for 5.8 consideration.

 Please note that while I think it's a nice enhancement and the patch looks
 good and pretty straightforward, it's not 100% sure it will ship in 5.8.
 Indeed, 5.8 feature freeze is next week. Let's see if it can ship or not.

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


More information about the wp-trac mailing list