-
Notifications
You must be signed in to change notification settings - Fork 8
Honeypot update #832
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
base: dev
Are you sure you want to change the base?
Honeypot update #832
Changes from all commits
e641c50
4acbcab
290606b
5865ce4
b60b7e3
363b7b7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We must skip all the "GET" forms excepting the "get_search_form" hook.
This filter "render_block_core/search" may cause unexpected requests.
Discuss this change among the team due daily scrum , but be prepared to explain what exactly you wanted to do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://developer.wordpress.org/reference/hooks/render_block_this-name/
If we just drop render_block_core/search, search protection will stop working on modern Gutenberg and FSE themes. The block form doesn't trigger get_search_form, so without this filter, our Honeypot won't be added to the form HTML at all.