Contact Form Email - Version 1.3.23

Version Description

  • PHP compatibility update
Download this release

Release Info

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

Code changes from version 1.3.22 to 1.3.23

Files changed (3) hide show
  1. README.txt +5 -2
  2. cp-main-class.inc.php +2 -2
  3. form-to-email.php +1 -1
README.txt CHANGED
@@ -456,6 +456,9 @@ When you click a field already added into the contact form builder area, you can
456
 
457
  == Changelog ==
458
 
 
 
 
459
  = 1.3.22 =
460
  * Compatible with WordPress 5.8
461
 
@@ -1120,5 +1123,5 @@ When you click a field already added into the contact form builder area, you can
1120
 
1121
  == Upgrade Notice ==
1122
 
1123
- = 1.3.22 =
1124
- * Compatible with WordPress 5.8
456
 
457
  == Changelog ==
458
 
459
+ = 1.3.23 =
460
+ * PHP compatibility update
461
+
462
  = 1.3.22 =
463
  * Compatible with WordPress 5.8
464
 
1123
 
1124
  == Upgrade Notice ==
1125
 
1126
+ = 1.3.23 =
1127
+ * PHP compatibility update
cp-main-class.inc.php CHANGED
@@ -956,8 +956,8 @@ class CP_ContactFormToEmail extends CP_CFTEMAIL_BaseClass {
956
  $message = str_replace('<'.'%fieldname'.$i.'%'.'>',"",$message);
957
  }
958
 
959
- $from = trim($this->get_option('fp_from_email', @CP_CFEMAIL_DEFAULT_fp_from_email));
960
- $to = explode(",",$this->get_option('fp_destination_emails', @CP_CFEMAIL_DEFAULT_fp_destination_emails));
961
  if ('html' == $this->get_option('fp_emailformat', CP_CFEMAIL_DEFAULT_email_format)) $content_type = "Content-Type: text/html; charset=utf-8\n"; else $content_type = "Content-Type: text/plain; charset=utf-8\n";
962
 
963
  $replyto = $myrows[0]->notifyto;
956
  $message = str_replace('<'.'%fieldname'.$i.'%'.'>',"",$message);
957
  }
958
 
959
+ $from = trim($this->get_option('fp_from_email', (defined('CP_CFEMAIL_DEFAULT_fp_from_email') ? CP_CFEMAIL_DEFAULT_fp_from_email : '') ));
960
+ $to = explode(",",$this->get_option('fp_destination_emails', (defined('CP_CFEMAIL_DEFAULT_fp_destination_emails') ? CP_CFEMAIL_DEFAULT_fp_destination_emails : '') ));
961
  if ('html' == $this->get_option('fp_emailformat', CP_CFEMAIL_DEFAULT_email_format)) $content_type = "Content-Type: text/html; charset=utf-8\n"; else $content_type = "Content-Type: text/plain; charset=utf-8\n";
962
 
963
  $replyto = $myrows[0]->notifyto;
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.3.22
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.3.23
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email