[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
Thu Sep 30 21:25:14 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.9
Component:  Script Loader             |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------

Comment (by audrasjb):

 Patch refreshed against trunk.

 @azaozz as you are the `Script Loader` component maintainer, are you
 available to review the proposed patch? Thank you very much :)

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


More information about the wp-trac mailing list