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

Version Description

Download this release

Release Info

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

Code changes from version 1.13.35 to 1.13.36

admin/models/Blocked_ips_fm.php CHANGED
@@ -21,7 +21,7 @@ class FMModelBlocked_ips_fm extends FMAdminModel {
21
  global $wpdb;
22
  $query = "SELECT * FROM `" . $wpdb->prefix . "formmaker_blocked` ";
23
  if ( $search ) {
24
- $query .= 'WHERE `ip` LIKE "%' . $search . '%"';
25
  }
26
  $query .= ' ORDER BY `' . $orderby . '` ' . $order;
27
  $query .= " LIMIT " . $limit . "," . $items_per_page;
@@ -61,7 +61,7 @@ class FMModelBlocked_ips_fm extends FMAdminModel {
61
 
62
  $search = WDW_FM_Library(self::PLUGIN)->get('s', '');
63
  if ( $search ) {
64
- $query .= ' WHERE `ip` LIKE "%' . $search . '%"';
65
  }
66
 
67
  $total = $wpdb->get_var($query);
21
  global $wpdb;
22
  $query = "SELECT * FROM `" . $wpdb->prefix . "formmaker_blocked` ";
23
  if ( $search ) {
24
+ $query .= $wpdb->prepare('WHERE `ip` LIKE "%s"', '%' . $search . '%');
25
  }
26
  $query .= ' ORDER BY `' . $orderby . '` ' . $order;
27
  $query .= " LIMIT " . $limit . "," . $items_per_page;
61
 
62
  $search = WDW_FM_Library(self::PLUGIN)->get('s', '');
63
  if ( $search ) {
64
+ $query .= $wpdb->prepare('WHERE `ip` LIKE "%s"', '%' . $search . '%');
65
  }
66
 
67
  $total = $wpdb->get_var($query);
admin/models/Manage_fm.php CHANGED
@@ -24,7 +24,7 @@ class FMModelManage_fm extends FMAdminModel {
24
  $query = "SELECT t1.* FROM " . $wpdb->prefix . "formmaker as t1 ";
25
  $query .= (!WDFMInstance(self::PLUGIN)->is_free ? '' : 'WHERE t1.id' . (WDFMInstance(self::PLUGIN)->is_free == 1 ? ' NOT ' : ' ') . 'IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')');
26
  if ( $search ) {
27
- $query .= (!WDFMInstance(self::PLUGIN)->is_free ? 'WHERE' : ' AND') . ' t1.title LIKE "%' . $search . '%"';
28
  }
29
  $query .= ' ORDER BY t1.`' . $orderby . '` ' . $order;
30
  $query .= " LIMIT " . $limit . "," . $items_per_page;
@@ -3531,7 +3531,7 @@ class FMModelManage_fm extends FMAdminModel {
3531
 
3532
  $query .= (!WDFMInstance(self::PLUGIN)->is_free ? '' : 'WHERE id' . (WDFMInstance(self::PLUGIN)->is_free == 1 ? ' NOT ' : ' ') . 'IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')');
3533
  if ( $search ) {
3534
- $query .= (!WDFMInstance(self::PLUGIN)->is_free ? 'WHERE' : ' AND') . ' `title` LIKE "%' . $search . '%"';
3535
  }
3536
 
3537
  $total = $wpdb->get_var($query);
24
  $query = "SELECT t1.* FROM " . $wpdb->prefix . "formmaker as t1 ";
25
  $query .= (!WDFMInstance(self::PLUGIN)->is_free ? '' : 'WHERE t1.id' . (WDFMInstance(self::PLUGIN)->is_free == 1 ? ' NOT ' : ' ') . 'IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')');
26
  if ( $search ) {
27
+ $query .= $wpdb->prepare((!WDFMInstance(self::PLUGIN)->is_free ? 'WHERE' : ' AND') . ' `t1`.`title` LIKE "%s"', '%' . $search . '%');
28
  }
29
  $query .= ' ORDER BY t1.`' . $orderby . '` ' . $order;
30
  $query .= " LIMIT " . $limit . "," . $items_per_page;
3531
 
3532
  $query .= (!WDFMInstance(self::PLUGIN)->is_free ? '' : 'WHERE id' . (WDFMInstance(self::PLUGIN)->is_free == 1 ? ' NOT ' : ' ') . 'IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')');
3533
  if ( $search ) {
3534
+ $query .= $wpdb->prepare((!WDFMInstance(self::PLUGIN)->is_free ? 'WHERE' : ' AND') . ' `title` LIKE "%s"', '%' . $search . '%');
3535
  }
3536
 
3537
  $total = $wpdb->get_var($query);
admin/models/Themes_fm.php CHANGED
@@ -17,7 +17,7 @@ class FMModelThemes_fm extends FMAdminModel {
17
  $search = $params['search'];
18
  $query = 'SELECT * FROM `' . $wpdb->prefix . 'formmaker_themes` AS `t`';
19
  if ( $search ) {
20
- $query .= 'WHERE `t`.`title` LIKE "%' . $search . '%"';
21
  }
22
  $query .= ' ORDER BY `t`.`' . $orderby . '` ' . $order;
23
  $query .= ' LIMIT ' . $page_num . ',' . $page_per;
@@ -83,7 +83,7 @@ class FMModelThemes_fm extends FMAdminModel {
83
  global $wpdb;
84
  $query = 'SELECT COUNT(*) FROM `' . $wpdb->prefix . 'formmaker_themes`';
85
  if ( $search ) {
86
- $query .= ' WHERE `title` LIKE "%' . $search . '%"';
87
  }
88
  $total = $wpdb->get_var($query);
89
 
17
  $search = $params['search'];
18
  $query = 'SELECT * FROM `' . $wpdb->prefix . 'formmaker_themes` AS `t`';
19
  if ( $search ) {
20
+ $query .= $wpdb->prepare('WHERE `t`.`title` LIKE "%s"', '%' . $search . '%');
21
  }
22
  $query .= ' ORDER BY `t`.`' . $orderby . '` ' . $order;
23
  $query .= ' LIMIT ' . $page_num . ',' . $page_per;
83
  global $wpdb;
84
  $query = 'SELECT COUNT(*) FROM `' . $wpdb->prefix . 'formmaker_themes`';
85
  if ( $search ) {
86
+ $query .= $wpdb->prepare('WHERE `title` LIKE "%s"', '%' . $search . '%');
87
  }
88
  $total = $wpdb->get_var($query);
89
 
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.13.35
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
@@ -98,8 +98,8 @@ final class WDFM {
98
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
99
  $this->front_urls = $this->get_front_urls();
100
  $this->main_file = plugin_basename(__FILE__);
101
- $this->plugin_version = '1.13.35';
102
- $this->db_version = '2.13.35';
103
  $this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
104
  $this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
105
  $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.13.36
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
98
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
99
  $this->front_urls = $this->get_front_urls();
100
  $this->main_file = plugin_basename(__FILE__);
101
+ $this->plugin_version = '1.13.36';
102
+ $this->db_version = '2.13.36';
103
  $this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
104
  $this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
105
  $this->menu_slug = 'manage' . $this->menu_postfix;
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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: 5.4
6
- Stable tag: 1.13.35
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -562,6 +562,9 @@ Where **{{field_id}}** is the ID of the field you wish to prefill. Also, **{{par
562
 
563
  == Changelog ==
564
 
 
 
 
565
  = 1.13.35 =
566
  * Fixed: Bug on Google reCapthcha.
567
  * Fixed: Bug on selecting options from database.
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: 5.4
6
+ Stable tag: 1.13.36
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
562
 
563
  == Changelog ==
564
 
565
+ = 1.13.36
566
+ * Fixed: Security issue.
567
+
568
  = 1.13.35 =
569
  * Fixed: Bug on Google reCapthcha.
570
  * Fixed: Bug on selecting options from database.