libreform / wp-libre-form

Easy native HTML5 forms for WordPress. Version 1.5 is unmaintained, but works without issue. 2.0 has been rewritten from the ground, and can be found at https://github.com/libreform/libreform
https://wordpress.org/plugins/wp-libre-form
GNU General Public License v3.0
67 stars 27 forks source link

Hotfix for the array to string conversion #171

Closed Liblastic closed 5 years ago

Liblastic commented 5 years ago

Hello, I found a bug. 🐛

On the line 53. Code fails because of array to string conversion. https://github.com/Liblastic/wp-libre-form/blob/master/inc/wplf-form-actions.php#L53

This should fix the problem.

k1sul1 commented 5 years ago

This is already fixed in feature/2.0: https://github.com/libreform/wp-libre-form/blob/feature/2.0/inc/wplf-form-actions.php#L53

I don't have time at the moment to finish it.

I suggest using Composer to install this plugin and https://github.com/cweagans/composer-patches to apply your patch to it.