Support » Plugin: Forminator Payment, Quiz and Contact Form Plugin » 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)
  • Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hey @studiowizjo

    I hope you’re well today and thank you for reporting this.

    I just consulted it with our developers and you’re right, they confirmed your findings. We’ve already added it to our bug-fixing list and we’ll include fix, as suggested, in one of the nearest upcoming releases.

    Thank you again!

    Have a great day,
    Adam

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.