[wp-trac] [WordPress Trac] #54214: Make it posible to add custom attribute to inline script
WordPress Trac
noreply at wordpress.org
Mon Oct 4 11:51:46 UTC 2021
#54214: Make it posible to add custom attribute to inline script
---------------------------+------------------------------
Reporter: erikdemarco | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by swissspidy):
See also https://make.wordpress.org/core/2021/02/23/introducing-script-
attributes-related-functions-in-wordpress-5-7/
Those functions were added specifically because of CSP.
The goal is to eventually convert all usage in WP core to use these
functions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54214#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list