Skip to content

Update amp_remove_admin_bar_in_phone_preview() to use wp_print_inline_script_tag()#8125

Open
westonruter wants to merge 2 commits intodevelopfrom
update/inline-script-printing
Open

Update amp_remove_admin_bar_in_phone_preview() to use wp_print_inline_script_tag()#8125
westonruter wants to merge 2 commits intodevelopfrom
update/inline-script-printing

Conversation

@westonruter
Copy link
Copy Markdown
Member

This ensures that the nonce attribute can be added to the inline script for the sake of CSP.

@westonruter westonruter added the Bug Something isn't working label Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant