Contact Form Email - Version 1.2.59

Version Description

  • Fixed magic quotes issue
Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Contact Form Email
Version 1.2.59
Comparing to
See all releases

Code changes from version 1.2.58 to 1.2.59

Files changed (3) hide show
  1. README.txt +4 -2
  2. cp-main-class.inc.php +3 -0
  3. form-to-email.php +1 -1
README.txt CHANGED
@@ -454,6 +454,8 @@ When you click a field already added into the contact form builder area, you can
454
 
455
  == Changelog ==
456
 
 
 
457
 
458
  = 1.2.58 =
459
  * Fixed conflict with Gutenberg editor
@@ -936,5 +938,5 @@ When you click a field already added into the contact form builder area, you can
936
 
937
  == Upgrade Notice ==
938
 
939
- = 1.2.58 =
940
- * Fixed conflict with Gutenberg editor
454
 
455
  == Changelog ==
456
 
457
+ = 1.2.59 =
458
+ * Fixed magic quotes issue
459
 
460
  = 1.2.58 =
461
  * Fixed conflict with Gutenberg editor
938
 
939
  == Upgrade Notice ==
940
 
941
+ = 1.2.59 =
942
+ * Fixed magic quotes issue
cp-main-class.inc.php CHANGED
@@ -762,6 +762,9 @@ class CP_ContactFormToEmail extends CP_CFTEMAIL_BaseClass {
762
 
763
  function save_edition()
764
  {
 
 
 
765
  if (substr_count($_POST['editionarea'],"\\\""))
766
  $_POST["editionarea"] = stripcslashes($_POST["editionarea"]);
767
  if ($_POST["cfwpp_edit"] == 'js')
762
 
763
  function save_edition()
764
  {
765
+ foreach ($_POST as $item => $value)
766
+ if (!is_array($value))
767
+ $_POST[$item] = stripcslashes($value);
768
  if (substr_count($_POST['editionarea'],"\\\""))
769
  $_POST["editionarea"] = stripcslashes($_POST["editionarea"]);
770
  if ($_POST["cfwpp_edit"] == 'js')
form-to-email.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Contact Form Email
4
  Plugin URI: https://form2email.dwbooster.com/download
5
  Description: Contact form that sends the data to email and also to a database list and CSV file.
6
- Version: 1.2.58
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email
3
  Plugin Name: Contact Form Email
4
  Plugin URI: https://form2email.dwbooster.com/download
5
  Description: Contact form that sends the data to email and also to a database list and CSV file.
6
+ Version: 1.2.59
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email