[wp-trac] [WordPress Trac] #57846: Adding nonce in extra js scripts of registered scripts localized variables. Is it possible ?

WordPress Trac noreply at wordpress.org
Thu Mar 2 12:17:20 UTC 2023


#57846: Adding nonce in extra js scripts of registered scripts localized variables.
Is it possible ?
---------------------------+-----------------------------
 Reporter:  pyrobd         |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Script Loader  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 I need to add nonce to these extra scripts but could not find any
 filter,client site is blocking inline scripts without nonce. Here is a
 screenshot https://prnt.sc/DFKGjyEit4UD

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


More information about the wp-trac mailing list