[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 May 20 21:07:44 UTC 2021


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

 * Attachment "51124.diff" added.

 Add an additionnal parameter to the wp_add_inline_script function

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


More information about the wp-trac mailing list