Contact Form Entries – Contact Form 7, WPforms and more - Version 1.1.6

Version Description

  • fixed xss issue.
Download this release

Release Info

Developer CRMPerks
Plugin Icon 128x128 Contact Form Entries – Contact Form 7, WPforms and more
Version 1.1.6
Comparing to
See all releases

Code changes from version 1.1.5 to 1.1.6

Files changed (2) hide show
  1. contact-form-entries.php +16 -4
  2. readme.txt +11 -3
contact-form-entries.php CHANGED
@@ -2,9 +2,9 @@
2
  /**
3
  * Plugin Name: Contact Form Entries
4
  * Description: Save form submissions to the database from <a href="https://wordpress.org/plugins/contact-form-7/">Contact Form 7</a>, <a href="https://wordpress.org/plugins/ninja-forms/">Ninja Forms</a>, <a href="https://elementor.com/widgets/form-widget/">Elementor Forms</a> and <a href="https://wordpress.org/plugins/wpforms-lite/">WP Forms</a>.
5
- * Version: 1.1.5
6
  * Requires at least: 3.8
7
- * Tested up to: 5.5
8
  * Author URI: https://www.crmperks.com
9
  * Plugin URI: https://www.crmperks.com/plugins/contact-form-plugins/crm-perks-forms/
10
  * Author: CRM Perks
@@ -26,7 +26,7 @@ class vxcf_form {
26
  public static $type = "vxcf_form";
27
  public static $path = '';
28
 
29
- public static $version = '1.1.5';
30
  public static $upload_folder = 'crm_perks_uploads';
31
  public static $db_version='';
32
  public static $base_url='';
@@ -404,11 +404,23 @@ if(is_array($lead) && count($lead)>0){
404
  }
405
  if(!empty(self::$user_id)){
406
  $main['user_id']=self::$user_id;
 
 
 
 
 
 
 
 
 
 
 
 
407
  }
408
  $main=apply_filters('vxcf_entries_plugin_before_saving_lead_main',$main,$lead,$entry_id);
409
  //var_dump($main); die();
410
  //set self::$form_fields_temp
411
- vxcf_form::get_form_fields($form_id);
412
  $lead=apply_filters('vxcf_entries_plugin_before_saving_lead',$lead,$main);
413
  $vis_id='';
414
  if($save){
2
  /**
3
  * Plugin Name: Contact Form Entries
4
  * Description: Save form submissions to the database from <a href="https://wordpress.org/plugins/contact-form-7/">Contact Form 7</a>, <a href="https://wordpress.org/plugins/ninja-forms/">Ninja Forms</a>, <a href="https://elementor.com/widgets/form-widget/">Elementor Forms</a> and <a href="https://wordpress.org/plugins/wpforms-lite/">WP Forms</a>.
5
+ * Version: 1.1.6
6
  * Requires at least: 3.8
7
+ * Tested up to: 5.6
8
  * Author URI: https://www.crmperks.com
9
  * Plugin URI: https://www.crmperks.com/plugins/contact-form-plugins/crm-perks-forms/
10
  * Author: CRM Perks
26
  public static $type = "vxcf_form";
27
  public static $path = '';
28
 
29
+ public static $version = '1.1.6';
30
  public static $upload_folder = 'crm_perks_uploads';
31
  public static $db_version='';
32
  public static $base_url='';
404
  }
405
  if(!empty(self::$user_id)){
406
  $main['user_id']=self::$user_id;
407
+ }
408
+ $fields=vxcf_form::get_form_fields($form_id);
409
+
410
+ if(!empty($fields)){
411
+ foreach($lead as $k=>$v){
412
+ $type=isset($fields[$k]['type']) ? $fields[$k]['type'] :'';
413
+ if( in_array($type,array('textarea'))){
414
+ $lead[$k]=sanitize_textarea_field($v);
415
+ }else{
416
+ $lead[$k]=$this->post($k,$lead);
417
+ }
418
+ }
419
  }
420
  $main=apply_filters('vxcf_entries_plugin_before_saving_lead_main',$main,$lead,$entry_id);
421
  //var_dump($main); die();
422
  //set self::$form_fields_temp
423
+
424
  $lead=apply_filters('vxcf_entries_plugin_before_saving_lead',$lead,$main);
425
  $vis_id='';
426
  if($save){
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: crmperks, sbazzi
3
  Tags: contact form 7, contact form 7 database, contact form db, save contact form, wpforms database
4
  Requires at least: 3.8
5
- Tested up to: 5.5
6
- Stable tag: 1.1.5
7
- Version: 1.1.5
8
  Requires PHP: 5.3
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -41,6 +41,10 @@ Contact Form 7 Entries Plugin automatically saves form submissions from Contact
41
 
42
  Contact Form 7 is free contact form builder. This free Contact Form 7 Entries plugin adds entries management and all premium features to free wordpress contact forms including contact form 7. You can send entries data to your CRM or mailing lists.
43
 
 
 
 
 
44
  == Contact Form 7 Entries Stats ==
45
 
46
  This plugin displays contact form 7 submissions summary by contact form on dashboard. You can see all read/un-read entries of all contact forms at one place.
@@ -83,6 +87,7 @@ We have Premium Extensions for 20+ CRMs.[View All CRM Extensions](https://www.cr
83
 
84
  * [Contact Form Streak Plugin](https://www.crmperks.com/plugins/contact-form-plugins/contact-form-streak-plugin/?utm_medium=referral&utm_source=wordpress&utm_campaign=Entries+Readme&utm_content=WP)
85
  * [Contact Form Freshdesk Plugin](https://www.crmperks.com/plugins/contact-form-plugins/contact-form-freshdesk-plugin/?utm_medium=referral&utm_source=wordpress&utm_campaign=Entries+Readme&utm_content=WP)
 
86
 
87
 
88
 
@@ -227,6 +232,9 @@ Contact form 7 entries plugin allows you to save contact form 7 entries to local
227
 
228
  == Changelog ==
229
 
 
 
 
230
  = 1.1.5 =
231
  * fixed "float as string" mysql error.
232
 
2
  Contributors: crmperks, sbazzi
3
  Tags: contact form 7, contact form 7 database, contact form db, save contact form, wpforms database
4
  Requires at least: 3.8
5
+ Tested up to: 5.6
6
+ Stable tag: 1.1.6
7
+ Version: 1.1.6
8
  Requires PHP: 5.3
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
41
 
42
  Contact Form 7 is free contact form builder. This free Contact Form 7 Entries plugin adds entries management and all premium features to free wordpress contact forms including contact form 7. You can send entries data to your CRM or mailing lists.
43
 
44
+ == WPforms database addon ==
45
+
46
+ This Plugin saves WPforms entries into wordpress database, you can view and edit any entry. You can also export all entries as csv file.
47
+
48
  == Contact Form 7 Entries Stats ==
49
 
50
  This plugin displays contact form 7 submissions summary by contact form on dashboard. You can see all read/un-read entries of all contact forms at one place.
87
 
88
  * [Contact Form Streak Plugin](https://www.crmperks.com/plugins/contact-form-plugins/contact-form-streak-plugin/?utm_medium=referral&utm_source=wordpress&utm_campaign=Entries+Readme&utm_content=WP)
89
  * [Contact Form Freshdesk Plugin](https://www.crmperks.com/plugins/contact-form-plugins/contact-form-freshdesk-plugin/?utm_medium=referral&utm_source=wordpress&utm_campaign=Entries+Readme&utm_content=WP)
90
+ * [Contact Form 7 Pardot](https://www.crmperks.com/plugins/contact-form-plugins/contact-form-pardot-plugin/?utm_medium=referral&utm_source=wordpress&utm_campaign=Entries+Readme&utm_content=WP)
91
 
92
 
93
 
232
 
233
  == Changelog ==
234
 
235
+ = 1.1.6 =
236
+ * fixed xss issue.
237
+
238
  = 1.1.5 =
239
  * fixed "float as string" mysql error.
240