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

function get_honeypot_input_names should not merge the options with the default array #116

Open
tobaco opened this issue Oct 29, 2024 · 0 comments

Comments

@tobaco
Copy link

tobaco commented Oct 29, 2024

I installed your awesome plugin, after getting a lot of spam with multiple forms on a website.
In all forms I used email as name for my email field.

When I activated the honeypot function, I also changed the email in the options to e-mail, but the forms would not submit anymore, because there were now 2 email fields. One regular and one honeypot. This is because of the merging of the default values in

function get_honeypot_input_names( $custom_names = array() ) {

In my opinion it would be better to only have the defaults in the options. This way they would be editable.

I had to adjust my email field in every form and mail template, to make it work.

thanks!

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

No branches or pull requests

1 participant