Contact Form Submissions - Version 1.6

Version Description

  • Enabled saving mail2 by default.
  • Fixed an issue where mail2 was not being saved.
Download this release

Release Info

Developer jasongreen
Plugin Icon 128x128 Contact Form Submissions
Version 1.6
Comparing to
See all releases

Code changes from version 1.5.9 to 1.6

Files changed (3) hide show
  1. Submissions.php +2 -2
  2. contact-form-submissions.php +1 -1
  3. readme.txt +5 -1
Submissions.php CHANGED
@@ -86,8 +86,8 @@ class WPCF7Submissions
86
  }
87
 
88
  // don't save mail2 autoresponders by default
89
- if (!empty($wpcf7s_post_id) && false === apply_filters('wpcf7s_save_submission_mail2', false, $contact_form_id)) {
90
- return;
91
  }
92
 
93
  if (!empty($wpcf7s_posted_data)) {
86
  }
87
 
88
  // don't save mail2 autoresponders by default
89
+ if (!empty($wpcf7s_post_id) && false === apply_filters('wpcf7s_save_submission_mail2', true, $contact_form_id)) {
90
+ return $components;
91
  }
92
 
93
  if (!empty($wpcf7s_posted_data)) {
contact-form-submissions.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Contact Form Submissions
4
  Description: Never miss an enquiry again! Save all Contact Form 7 submissions in your database.
5
- Version: 1.5.9
6
  Author: Jason Green
7
  License: GPLv3
8
  Domain Path: /languages
2
  /*
3
  Plugin Name: Contact Form Submissions
4
  Description: Never miss an enquiry again! Save all Contact Form 7 submissions in your database.
5
+ Version: 1.6
6
  Author: Jason Green
7
  License: GPLv3
8
  Domain Path: /languages
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: contact form 7, save contact form, submissions, contact form db, cf7, wpcf
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SNHXWSXSPYATE
5
  Requires at least: 3.0.1
6
  Tested up to: 4.8.1
7
- Stable tag: 1.5.9
8
  License: GPLv3
9
 
10
  Never miss an enquiry again! Save & Export your Contact Form 7 submissions.
@@ -42,6 +42,10 @@ None yet
42
 
43
  == Changelog ==
44
 
 
 
 
 
45
  = 1.5.9 =
46
  * Added security fix to escape user submitted data
47
 
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SNHXWSXSPYATE
5
  Requires at least: 3.0.1
6
  Tested up to: 4.8.1
7
+ Stable tag: 1.6
8
  License: GPLv3
9
 
10
  Never miss an enquiry again! Save & Export your Contact Form 7 submissions.
42
 
43
  == Changelog ==
44
 
45
+ = 1.6 =
46
+ * Enabled saving mail2 by default.
47
+ * Fixed an issue where mail2 was not being saved.
48
+
49
  = 1.5.9 =
50
  * Added security fix to escape user submitted data
51