Contact Form Builder – a plugin for creating contact and feedback forms - Version 1.0.39

Version Description

Fixed: Email from name with quotes.

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Contact Form Builder – a plugin for creating contact and feedback forms
Version 1.0.39
Comparing to
See all releases

Code changes from version 1.0.38 to 1.0.39

contact-form-builder.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Contact Form Builder
4
  * Plugin URI: http://web-dorado.com/products/wordpress-contact-form-builder.html
5
  * Description: Contact Form Builder is an advanced plugin to add contact forms into your website. It comes along with multiple default templates which can be customized.
6
- * Version: 1.0.38
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -172,7 +172,7 @@ if (class_exists('WP_Widget')) {
172
  // Activate plugin.
173
  function contact_form_maker_activate() {
174
  $version = get_option("wd_contact_form_maker_version");
175
- $new_version = '1.0.38';
176
  if ($version && version_compare($version, $new_version, '<')) {
177
  require_once WD_CFM_DIR . "/contact-form-builder-update.php";
178
  contact_form_maker_update($version);
3
  * Plugin Name: Contact Form Builder
4
  * Plugin URI: http://web-dorado.com/products/wordpress-contact-form-builder.html
5
  * Description: Contact Form Builder is an advanced plugin to add contact forms into your website. It comes along with multiple default templates which can be customized.
6
+ * Version: 1.0.39
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
172
  // Activate plugin.
173
  function contact_form_maker_activate() {
174
  $version = get_option("wd_contact_form_maker_version");
175
+ $new_version = '1.0.39';
176
  if ($version && version_compare($version, $new_version, '<')) {
177
  require_once WD_CFM_DIR . "/contact-form-builder-update.php";
178
  contact_form_maker_update($version);
frontend/models/CFMModelForm_maker.php CHANGED
@@ -600,7 +600,7 @@ class CFMModelForm_maker {
600
  $send_tos = explode('**', $row->send_to);
601
  if ($row->mail_from_user != '') {
602
  if ($row->mail_from_name_user != '') {
603
- $from = "From: '" . $row->mail_from_name_user . "' <" . $row->mail_from_user . ">" . "\r\n";
604
  }
605
  else {
606
  $from = "From: '" . $row->mail_from_user . "' <" . $row->mail_from_user . ">" . "\r\n";
@@ -714,7 +714,7 @@ class CFMModelForm_maker {
714
  if (!isset($from)) {
715
  $from = $row->mail_from;
716
  }
717
- $from = "From: '" . $fromname . "' <" . $from . ">" . "\r\n";
718
  }
719
  else {
720
  $from = "";
600
  $send_tos = explode('**', $row->send_to);
601
  if ($row->mail_from_user != '') {
602
  if ($row->mail_from_name_user != '') {
603
+ $from = "From: '" . htmlspecialchars_decode($row->mail_from_name_user, ENT_QUOTES) . "' <" . $row->mail_from_user . ">" . "\r\n";
604
  }
605
  else {
606
  $from = "From: '" . $row->mail_from_user . "' <" . $row->mail_from_user . ">" . "\r\n";
714
  if (!isset($from)) {
715
  $from = $row->mail_from;
716
  }
717
+ $from = "From: '" . htmlspecialchars_decode($fromname, ENT_QUOTES) . "' <" . $from . ">" . "\r\n";
718
  }
719
  else {
720
  $from = "";
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-contact-form-builder.html
4
  Tags: form, forms, contact form, contact forms, contact form plugin, contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contact forms, custom form, Contact Form Builder with recaptcha, contact form with google map, feedback form, feedback forms, contact us, wordpress contact form, email form, feedback, web form, contact me, email, contact manager, contact us form, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, text input, validation, send copy, form with captcha, advanced form, recaptcha, contact form with captcha
5
  Requires at least: 3.4
6
  Tested up to: 4.4
7
- Stable tag: 1.0.38
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -138,9 +138,13 @@ After downloading the ZIP file,
138
 
139
  == Changelog ==
140
 
 
 
 
 
141
  = 1.0.38 =
142
- Changed: Improve submissions export.
143
- Changed: Manager page buttons disposition.
144
 
145
  = 1.0.37 =
146
  Changed: Integrated with new version of reCAPTCHA.
4
  Tags: form, forms, contact form, contact forms, contact form plugin, contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contact forms, custom form, Contact Form Builder with recaptcha, contact form with google map, feedback form, feedback forms, contact us, wordpress contact form, email form, feedback, web form, contact me, email, contact manager, contact us form, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, text input, validation, send copy, form with captcha, advanced form, recaptcha, contact form with captcha
5
  Requires at least: 3.4
6
  Tested up to: 4.4
7
+ Stable tag: 1.0.39
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
138
 
139
  == Changelog ==
140
 
141
+
142
+ = 1.0.39 =
143
+ Fixed: Email from name with quotes.
144
+
145
  = 1.0.38 =
146
+ Changed: Improve submissions export.
147
+ Changed: Manager page buttons disposition.
148
 
149
  = 1.0.37 =
150
  Changed: Integrated with new version of reCAPTCHA.