Skip to content

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

Open
@tobaco

Description

@tobaco

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!

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