Make WordPress Core

#57846 closed enhancement (invalid)

Adding nonce in extra js scripts of registered scripts localized variables. Is it possible ?

Reported by: pyrobd's profile pyrobd Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Script Loader Keywords:
Focuses: Cc:

Description

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

Change History (2)

#1 @pyrobd
19 months ago

  • Type changed from defect (bug) to enhancement

#2 @peterwilsoncc
19 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @pyrobd and thanks for the ticket!

Trac is used for the development of WordPress itself. For development assistance with individual sites, you'll find people who are able to assist you in the support forums. For you particular question, I recommend the Developing with WordPress forum.

I've closed this ticket as invalid, which in this case is trac's unfriendly term to indicate I've referred you elsewhere for assistance.

Note: See TracTickets for help on using tickets.