Form Maker by WD – user-friendly drag & drop Form Builder plugin - Version 1.15.6

Version Description

  • Fixed: Security vulnerability.
  • Fixed: Compatibility with Elementor latest version.
Download this release

Release Info

Developer 10web
Plugin Icon 128x128 Form Maker by WD – user-friendly drag & drop Form Builder plugin
Version 1.15.6
Comparing to
See all releases

Code changes from version 1.15.5 to 1.15.6

admin/controllers/Manage_fm.php CHANGED
@@ -1083,11 +1083,11 @@ class FMControllerManage_fm extends FMAdminController {
1083
  */
1084
  public function remove_query( $id = 0 ) {
1085
  $fieldset_id = WDW_FM_Library(self::PLUGIN)->get('fieldset_id', 'general');
1086
- $query_id = WDW_FM_Library(self::PLUGIN)->get('query_id',0);
1087
  $message = 2;
1088
- if( $this->model->delete_formmaker_query( $query_id ) ) {
1089
- $message = 3;
1090
- }
1091
 
1092
  WDW_FM_Library(self::PLUGIN)->fm_redirect(add_query_arg(array(
1093
  'page' => $this->page,
1083
  */
1084
  public function remove_query( $id = 0 ) {
1085
  $fieldset_id = WDW_FM_Library(self::PLUGIN)->get('fieldset_id', 'general');
1086
+ $query_id = WDW_FM_Library(self::PLUGIN)->get('query_id', 0, 'intval');
1087
  $message = 2;
1088
+ if ( $this->model->delete_formmaker_query($query_id) ) {
1089
+ $message = 3;
1090
+ }
1091
 
1092
  WDW_FM_Library(self::PLUGIN)->fm_redirect(add_query_arg(array(
1093
  'page' => $this->page,
admin/controllers/elementorWidget.php CHANGED
@@ -45,7 +45,7 @@ class FMElementor extends \Elementor\Widget_Base {
45
  /**
46
  * Register widget controls.
47
  */
48
- protected function _register_controls() {
49
  $this->start_controls_section(
50
  'general',
51
  [
45
  /**
46
  * Register widget controls.
47
  */
48
+ protected function register_controls() {
49
  $this->start_controls_section(
50
  'general',
51
  [
admin/models/Manage_fm.php CHANGED
@@ -3878,8 +3878,8 @@ class FMModelManage_fm extends FMAdminModel {
3878
  */
3879
  public function delete_formmaker_query( $id = 0 ) {
3880
  global $wpdb;
3881
- $query = 'DELETE FROM ' . $wpdb->prefix . 'formmaker_query WHERE id =' . $id;
3882
- return $wpdb->query($query);
3883
  }
3884
 
3885
  /**
3878
  */
3879
  public function delete_formmaker_query( $id = 0 ) {
3880
  global $wpdb;
3881
+
3882
+ return $wpdb->query($wpdb->prepare('DELETE FROM `' . $wpdb->prefix . 'formmaker_query` WHERE id =%d', $id));
3883
  }
3884
 
3885
  /**
form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://10web.io/plugins/wordpress-form-maker/?utm_source=form_maker&utm_medium=free_plugin
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
- * Version: 1.15.5
7
  * Author: 10Web Form Builder Team
8
  * Author URI: https://10web.io/plugins/?utm_source=form_maker&utm_medium=free_plugin
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -103,8 +103,8 @@ final class WDFM {
103
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
104
  $this->front_urls = $this->get_front_urls();
105
  $this->main_file = plugin_basename(__FILE__);
106
- $this->plugin_version = '1.15.5';
107
- $this->db_version = '2.15.5';
108
  $this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
109
  $this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
110
  $this->menu_slug = 'manage' . $this->menu_postfix;
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://10web.io/plugins/wordpress-form-maker/?utm_source=form_maker&utm_medium=free_plugin
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
+ * Version: 1.15.6
7
  * Author: 10Web Form Builder Team
8
  * Author URI: https://10web.io/plugins/?utm_source=form_maker&utm_medium=free_plugin
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
103
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
104
  $this->front_urls = $this->get_front_urls();
105
  $this->main_file = plugin_basename(__FILE__);
106
+ $this->plugin_version = '1.15.6';
107
+ $this->db_version = '2.15.6';
108
  $this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
109
  $this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
110
  $this->menu_slug = 'manage' . $this->menu_postfix;
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: webdorado,10web,wdsupport,formmakersupport
3
  Tags: form, forms, form builder, contact form, feedback, custom form, contact, web contact form, captcha, email, form manager, survey
4
  Requires at least: 4.6
5
- Tested up to: 6.0
6
- Stable tag: 1.15.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -561,6 +561,10 @@ Where **{{field_id}}** is the ID of the field you wish to prefill. Also, **{{par
561
 
562
 
563
  == Changelog ==
 
 
 
 
564
  = 1.15.5 =
565
  * Improved: Show customer info in Stripe payments.
566
  * Fixed: Number field validation.
2
  Contributors: webdorado,10web,wdsupport,formmakersupport
3
  Tags: form, forms, form builder, contact form, feedback, custom form, contact, web contact form, captcha, email, form manager, survey
4
  Requires at least: 4.6
5
+ Tested up to: 6.1
6
+ Stable tag: 1.15.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
561
 
562
 
563
  == Changelog ==
564
+ = 1.15.6 =
565
+ * Fixed: Security vulnerability.
566
+ * Fixed: Compatibility with Elementor latest version.
567
+
568
  = 1.15.5 =
569
  * Improved: Show customer info in Stripe payments.
570
  * Fixed: Number field validation.