Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Esi nonce in php fix #705

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

timotei-litespeed
Copy link
Contributor

When wp_create_nonce is assigned in a JSON into html the rendered nonce string contains .
The fix changes how wp_verify_nonce works by adding a check for <esi.
If found will replace the tag with the correct nonce value.

@hi-hai hi-hai changed the base branch from v6.4 to dev August 6, 2024 22:21
@hi-hai hi-hai changed the base branch from dev to master October 31, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants