aurovrata / cf7-grid-layout

A WordPress plugin extension for Contact Form 7 to design responsive grid-layout forms.
https://wordpress.org/plugins/cf7-grid-layout/
GNU General Public License v2.0
6 stars 7 forks source link

string used instead of form_key variable in filter #8

Closed altworks closed 5 years ago

altworks commented 5 years ago

I have Tabled/Tabbed mail tags filter working now.

The problem I had was the 'contact-form' string in the if loop on line 53 of cf7-grid-layout/admin/partials/helpers/cf7sg-post-form-submit.php All other filters use '{$form_key}' here.

In the meantime I have manually altered the string to my form's key

aurovrata commented 5 years ago

thanks for pointing that out, these are helpers and as such as meant to be that only, not a solution in itself. The comment that follows this line , //always validate the form being submitted.

should be clear enough that you need to test for your own form...