Skip to content

Feature Request: Support CSP #3

@oxyc

Description

@oxyc

I’m using a Content Security Policy that requires a nonce for inline scripts. Currently, the plugin hardcodes a script tag in a way that can’t be easily nonce’d.

I suggest using wp_get_inline_script_tag()/wp_print_inline_script_tag() to print the script tags so others can hook in and inject attributes in the tag. See https://core.trac.wordpress.org/ticket/59446

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions