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

Version Description

Fixed: Conflict with some plugins

Download this release

Release Info

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

Code changes from version 1.8.21 to 1.8.22

admin/models/FMModelFormmakerwindow.php CHANGED
@@ -21,7 +21,7 @@ class FMModelFormmakerwindow {
21
 
22
  public function get_form_data() {
23
  global $wpdb;
24
- $row = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "formmaker order by `title`");
25
  return $row;
26
  }
27
  ////////////////////////////////////////////////////////////////////////////////////////
21
 
22
  public function get_form_data() {
23
  global $wpdb;
24
+ $row = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "formmaker WHERE `id` NOT IN(" . get_option('contact_form_forms', 0) . ") order by `title`");
25
  return $row;
26
  }
27
  ////////////////////////////////////////////////////////////////////////////////////////
admin/models/FMModelManage_fm.php CHANGED
@@ -20,7 +20,8 @@ class FMModelManage_fm {
20
  ////////////////////////////////////////////////////////////////////////////////////////
21
  public function get_rows_data() {
22
  global $wpdb;
23
- $where = ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? 'WHERE title LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
 
24
  $asc_or_desc = ((isset($_POST['asc_or_desc']) && $_POST['asc_or_desc'] == 'desc') ? 'desc' : 'asc');
25
  $order_by_array = array('id', 'title', 'mail');
26
  $order_by = isset($_POST['order_by']) && in_array(esc_html(stripslashes($_POST['order_by'])), $order_by_array) ? esc_html(stripslashes($_POST['order_by'])) : 'id';
@@ -2196,7 +2197,8 @@ class FMModelManage_fm {
2196
 
2197
  public function page_nav() {
2198
  global $wpdb;
2199
- $where = ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? 'WHERE title LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
 
2200
  $query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "formmaker " . $where;
2201
  $total = $wpdb->get_var($query);
2202
  $page_nav['total'] = $total;
20
  ////////////////////////////////////////////////////////////////////////////////////////
21
  public function get_rows_data() {
22
  global $wpdb;
23
+ $where = 'WHERE `id` NOT IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')';
24
+ $where .= ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? ' AND title LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
25
  $asc_or_desc = ((isset($_POST['asc_or_desc']) && $_POST['asc_or_desc'] == 'desc') ? 'desc' : 'asc');
26
  $order_by_array = array('id', 'title', 'mail');
27
  $order_by = isset($_POST['order_by']) && in_array(esc_html(stripslashes($_POST['order_by'])), $order_by_array) ? esc_html(stripslashes($_POST['order_by'])) : 'id';
2197
 
2198
  public function page_nav() {
2199
  global $wpdb;
2200
+ $where = 'WHERE `id` NOT IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')';
2201
+ $where .= ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? ' AND title LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
2202
  $query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "formmaker " . $where;
2203
  $total = $wpdb->get_var($query);
2204
  $page_nav['total'] = $total;
admin/models/FMModelSubmissions_fm.php CHANGED
@@ -25,7 +25,7 @@ class FMModelSubmissions_fm {
25
 
26
  public function get_form_titles() {
27
  global $wpdb;
28
- $query = "SELECT id, title FROM " . $wpdb->prefix . "formmaker order by title";
29
  $forms = $wpdb->get_results($query);
30
  return $forms;
31
  }
25
 
26
  public function get_form_titles() {
27
  global $wpdb;
28
+ $query = "SELECT id, title FROM " . $wpdb->prefix . "formmaker WHERE `id` NOT IN(" . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ") order by title";
29
  $forms = $wpdb->get_results($query);
30
  return $forms;
31
  }
form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
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.8.21
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -271,7 +271,7 @@ function register_fmemailverification_cpt(){
271
  // Activate plugin.
272
  function form_maker_activate() {
273
  $version = get_option("wd_form_maker_version");
274
- $new_version = '1.8.21';
275
  global $wpdb;
276
  if (!$version) {
277
  add_option("wd_form_maker_version", $new_version, '', 'no');
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
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.8.22
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
271
  // Activate plugin.
272
  function form_maker_activate() {
273
  $version = get_option("wd_form_maker_version");
274
+ $new_version = '1.8.22';
275
  global $wpdb;
276
  if (!$version) {
277
  add_option("wd_form_maker_version", $new_version, '', 'no');
frontend/models/FMModelForm_maker.php CHANGED
@@ -20,7 +20,7 @@ class FMModelForm_maker {
20
  ////////////////////////////////////////////////////////////////////////////////////////
21
  public function showform($id) {
22
  global $wpdb;
23
- $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'formmaker WHERE id="%d"', $id));
24
  if (!$row || !$row->published) {
25
  return FALSE;
26
  }
20
  ////////////////////////////////////////////////////////////////////////////////////////
21
  public function showform($id) {
22
  global $wpdb;
23
+ $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'formmaker WHERE id="%d" AND id NOT IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')', $id));
24
  if (!$row || !$row->published) {
25
  return FALSE;
26
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-form.html
4
  Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form, contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha, pdf, mysql
5
  Requires at least: 3.4
6
  Tested up to: 4.4
7
- Stable tag: 1.8.21
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -302,6 +302,9 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
302
 
303
  == Changelog ==
304
 
 
 
 
305
  = 1.8.21 =
306
  Fixed: Bug in selectbox
307
 
4
  Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form, contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha, pdf, mysql
5
  Requires at least: 3.4
6
  Tested up to: 4.4
7
+ Stable tag: 1.8.22
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
302
 
303
  == Changelog ==
304
 
305
+ = 1.8.22 =
306
+ Fixed: Conflict with some plugins
307
+
308
  = 1.8.21 =
309
  Fixed: Bug in selectbox
310