[wp-trac] [WordPress Trac] #51325: Add a filter for script/style tags injected by wp_add_inline_{script|style}

WordPress Trac noreply at wordpress.org
Wed Dec 15 18:01:11 UTC 2021


#51325: Add a filter for script/style tags injected by wp_add_inline_{script|style}
---------------------------+-----------------------------
 Reporter:  pjohanneson    |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-refresh  |     Focuses:
---------------------------+-----------------------------

Comment (by pjohanneson):

 Getting back into this, and I'm seeing there are also a lot of `<script>`
 tags in `wp-includes`, `wp-admin`, and elsewhere. Would it be wise to add
 a PHP-generated nonce to all of those, too? If so, my diff is gonna touch
 _a lot_ of files.

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


More information about the wp-trac mailing list