Small mistake in Forminator Pro API code
-
Hello,
We have been doing for our client integration with your plugin, using your API methods and we found small mistake in file: \library\class-api.php in “update_form_setting” method.Settings are assigned to temporary $settings variable, but not assigned after that to model, so they are never saved to database.
Fix can be done just by one line, eg:
$model->settings[ $setting ] = sanitize_textarea_field( $value );
It would be great if you can patch this official.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Small mistake in Forminator Pro API code’ is closed to new replies.