Contact Form Email - Version 1.3.28

Version Description

  • Compatibility with Elementor
  • CSV export improvements
Download this release

Release Info

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

Code changes from version 1.3.27 to 1.3.28

README.txt CHANGED
@@ -456,6 +456,10 @@ When you click a field already added into the contact form builder area, you can
456
 
457
  == Changelog ==
458
 
 
 
 
 
459
  = 1.3.27 =
460
  * Compatible with WordPress 5.9
461
 
@@ -1135,5 +1139,6 @@ When you click a field already added into the contact form builder area, you can
1135
 
1136
  == Upgrade Notice ==
1137
 
1138
- = 1.3.27 =
1139
- * Compatible with WordPress 5.9
 
456
 
457
  == Changelog ==
458
 
459
+ = 1.3.28 =
460
+ * Compatibility with Elementor
461
+ * CSV export improvements
462
+
463
  = 1.3.27 =
464
  * Compatible with WordPress 5.9
465
 
1139
 
1140
  == Upgrade Notice ==
1141
 
1142
+ = 1.3.28 =
1143
+ * Compatibility with Elementor
1144
+ * CSV export improvements
controllers/elementor/elementorwidget_class.inc.php CHANGED
@@ -47,7 +47,7 @@ class Elementor_CPCFTE_Widget extends \Elementor\Widget_Base {
47
  * @return string Widget icon.
48
  */
49
  public function get_icon() {
50
- return 'fa fa-envelope';
51
  }
52
 
53
  /**
47
  * @return string Widget icon.
48
  */
49
  public function get_icon() {
50
+ return 'eicon-apps';
51
  }
52
 
53
  /**
cp-main-class.inc.php CHANGED
@@ -1197,16 +1197,16 @@ class CP_ContactFormToEmail extends CP_CFTEMAIL_BaseClass {
1197
  $events = $wpdb->get_results( "SELECT * FROM ".$wpdb->prefix.$this->table_messages." WHERE 1=1 ".$cond." ORDER BY `time` DESC" );
1198
 
1199
  if ($this->include_user_data_csv)
1200
- $fields = array("ID","Form ID", "Time", "IP Address", "email");
1201
  else
1202
- $fields = array("ID","Form", "email");
1203
  $values = array();
1204
  foreach ($events as $item)
1205
  {
1206
  if ($this->include_user_data_csv)
1207
  $value = array($item->id,$item->formid, $item->time, $item->ipaddr, $item->notifyto);
1208
  else
1209
- $value = array($item->id,$this->get_option('form_name',''), $item->notifyto);
1210
  if ($item->posted_data)
1211
  $data = unserialize($item->posted_data);
1212
  else
1197
  $events = $wpdb->get_results( "SELECT * FROM ".$wpdb->prefix.$this->table_messages." WHERE 1=1 ".$cond." ORDER BY `time` DESC" );
1198
 
1199
  if ($this->include_user_data_csv)
1200
+ $fields = array("ID","Form ID", "IP Address", "email");
1201
  else
1202
+ $fields = array("ID","Form", "Time", "email");
1203
  $values = array();
1204
  foreach ($events as $item)
1205
  {
1206
  if ($this->include_user_data_csv)
1207
  $value = array($item->id,$item->formid, $item->time, $item->ipaddr, $item->notifyto);
1208
  else
1209
+ $value = array($item->id,$this->get_option('form_name',''), $item->time, $item->notifyto);
1210
  if ($item->posted_data)
1211
  $data = unserialize($item->posted_data);
1212
  else
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.27
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.28
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email