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

Version Description

Bug fixed: Empty email "From name". Bug fixed: Delete theme.

Download this release

Release Info

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

Code changes from version 1.7.28 to 1.7.29

admin/controllers/FMControllerThemes_fm.php CHANGED
@@ -116,7 +116,7 @@ class FMControllerThemes_fm {
116
 
117
  public function delete($id) {
118
  global $wpdb;
119
- $isDefault = $wpdb->get_var($wpdb->prepare('SELECT default FROM ' . $wpdb->prefix . 'formmaker_themes WHERE id="%d"', $id));
120
  if ($isDefault) {
121
  $message = 4;
122
  }
@@ -141,7 +141,7 @@ class FMControllerThemes_fm {
141
  $theme_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'formmaker_themes');
142
  foreach ($theme_ids_col as $theme_id) {
143
  if (isset($_POST['check_' . $theme_id])) {
144
- $isDefault = $wpdb->get_var($wpdb->prepare('SELECT default FROM ' . $wpdb->prefix . 'formmaker_themes WHERE id="%d"', $theme_id));
145
  if ($isDefault) {
146
  $message = 4;
147
  }
116
 
117
  public function delete($id) {
118
  global $wpdb;
119
+ $isDefault = $wpdb->get_var($wpdb->prepare('SELECT `default` FROM ' . $wpdb->prefix . 'formmaker_themes WHERE id="%d"', $id));
120
  if ($isDefault) {
121
  $message = 4;
122
  }
141
  $theme_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'formmaker_themes');
142
  foreach ($theme_ids_col as $theme_id) {
143
  if (isset($_POST['check_' . $theme_id])) {
144
+ $isDefault = $wpdb->get_var($wpdb->prepare('SELECT `default` FROM ' . $wpdb->prefix . 'formmaker_themes WHERE id="%d"', $theme_id));
145
  if ($isDefault) {
146
  $message = 4;
147
  }
form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Form Maker
4
  * Plugin URI: http://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.7.28
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -208,7 +208,7 @@ if (class_exists('WP_Widget')) {
208
  // Activate plugin.
209
  function form_maker_activate() {
210
  $version = get_option("wd_form_maker_version");
211
- $new_version = '1.7.28';
212
  if (!$version) {
213
  add_option("wd_form_maker_version", $new_version, '', 'no');
214
  global $wpdb;
3
  * Plugin Name: Form Maker
4
  * Plugin URI: http://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.7.29
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
208
  // Activate plugin.
209
  function form_maker_activate() {
210
  $version = get_option("wd_form_maker_version");
211
+ $new_version = '1.7.29';
212
  if (!$version) {
213
  add_option("wd_form_maker_version", $new_version, '', 'no');
214
  global $wpdb;
frontend/models/FMModelForm_maker.php CHANGED
@@ -1939,10 +1939,10 @@ class FMModelForm_maker {
1939
  $send_tos=explode('**',$row->send_to);
1940
  if ($row->mail_from_user != '') {
1941
  if ($fromname != '') {
1942
- $from = "From: " . $fromname . " <" . $row->mail_from_user . ">" . "\r\n";
1943
  }
1944
  else {
1945
- $from = "From: " . $row->mail_from_user . " <" . $row->mail_from_user . ">" . "\r\n";
1946
  }
1947
  }
1948
  else {
@@ -2009,7 +2009,7 @@ class FMModelForm_maker {
2009
  $fromname = $row->from_name;
2010
  }
2011
  else {
2012
- $fromname = $row->from_mail;
2013
  }
2014
  $attachment = array();
2015
  if ($row->mail_attachment) {
@@ -2066,7 +2066,7 @@ class FMModelForm_maker {
2066
  if (!isset($from)) {
2067
  $from = $row->from_mail;
2068
  }
2069
- $from = "From: " . $fromname . " <" . $from . ">" . "\r\n";
2070
  }
2071
  else {
2072
  $from = "";
@@ -2493,10 +2493,10 @@ class FMModelForm_maker {
2493
  // add_filter('wp_mail_content_type', create_function('', 'return "text/html";'));
2494
  if ($row->from_mail != '') {
2495
  if ($row->from_name != '') {
2496
- $from_mail = "From: " . $row->from_name . " <" . $row->from_mail . ">" . "\r\n";
2497
  }
2498
  else {
2499
- $from_mail = "From: " . $row->from_mail . " <" . $row->from_mail . ">" . "\r\n";
2500
  }
2501
  }
2502
  else {
@@ -2947,7 +2947,7 @@ class FMModelForm_maker {
2947
  if ($row->mail) {
2948
  if ($c) {
2949
  // $headers_form_mail = "From: " . $c . " <" . $c . ">" . "\r\n";
2950
- $headers = "MIME-Version: 1.0\n" . "From: " . $c . " <" . $c . ">" . "\r\n" . "Content-Type: text/html; charset=\"" . get_option('blog_charset') . "\"\n";
2951
  }
2952
  // else {
2953
  // $headers_form_mail = "";
1939
  $send_tos=explode('**',$row->send_to);
1940
  if ($row->mail_from_user != '') {
1941
  if ($fromname != '') {
1942
+ $from = "From: '" . $fromname . "' <" . $row->mail_from_user . ">" . "\r\n";
1943
  }
1944
  else {
1945
+ $from = "From: '' <" . $row->mail_from_user . ">" . "\r\n";
1946
  }
1947
  }
1948
  else {
2009
  $fromname = $row->from_name;
2010
  }
2011
  else {
2012
+ $fromname = '';
2013
  }
2014
  $attachment = array();
2015
  if ($row->mail_attachment) {
2066
  if (!isset($from)) {
2067
  $from = $row->from_mail;
2068
  }
2069
+ $from = "From: '" . $fromname . "' <" . $from . ">" . "\r\n";
2070
  }
2071
  else {
2072
  $from = "";
2493
  // add_filter('wp_mail_content_type', create_function('', 'return "text/html";'));
2494
  if ($row->from_mail != '') {
2495
  if ($row->from_name != '') {
2496
+ $from_mail = "From: '" . $row->from_name . "' <" . $row->from_mail . ">" . "\r\n";
2497
  }
2498
  else {
2499
+ $from_mail = "From: '' <" . $row->from_mail . ">" . "\r\n";
2500
  }
2501
  }
2502
  else {
2947
  if ($row->mail) {
2948
  if ($c) {
2949
  // $headers_form_mail = "From: " . $c . " <" . $c . ">" . "\r\n";
2950
+ $headers = "MIME-Version: 1.0\n" . "From: '" . $c . "' <" . $c . ">" . "\r\n" . "Content-Type: text/html; charset=\"" . get_option('blog_charset') . "\"\n";
2951
  }
2952
  // else {
2953
  // $headers_form_mail = "";
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Form Maker ===
2
  Contributors: webdorado
3
  Donate link: http://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, formular, formulario
5
  Requires at least: 3.4
6
  Tested up to: 4.1
7
- Stable tag: 1.7.28
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -12,7 +12,7 @@ WordPress Form Maker is a fresh and innovative form builder. This form builder i
12
 
13
  == Description ==
14
 
15
- ### If you have updated to WordPress 4.0.1 or got an automatic update to the mentioned version, please also update the Form Maker plugin to 1.7.21 or higher version.
16
 
17
  [WordPress Form Maker](http://web-dorado.com/products/wordpress-form.html)
18
  [Demo](http://wpdemo.web-dorado.com/)
@@ -277,6 +277,14 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
277
 
278
  == Changelog ==
279
 
 
 
 
 
 
 
 
 
280
  = 1.7.27 =
281
  bug fixed in csv\xml export
282
 
1
  === Form Maker ===
2
  Contributors: webdorado
3
  Donate link: http://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, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha
5
  Requires at least: 3.4
6
  Tested up to: 4.1
7
+ Stable tag: 1.7.29
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ Form Maker is a FREE and user-friendly plugin to create highly customizable and responsive forms in a few minutes with simple drag and drop interface.
16
 
17
  [WordPress Form Maker](http://web-dorado.com/products/wordpress-form.html)
18
  [Demo](http://wpdemo.web-dorado.com/)
277
 
278
  == Changelog ==
279
 
280
+ = 1.7.29 =
281
+ Bug fixed: Empty email "From name".
282
+ Bug fixed: Delete theme.
283
+
284
+ = 1.7.28 =
285
+ Bug fixed: Edit submissions.
286
+ Bug fixed: Conditional fielsd with quota in labels
287
+
288
  = 1.7.27 =
289
  bug fixed in csv\xml export
290