Advanced Contact form 7 DB - Version 1.8.5

Version Description

  • We have upgraded with Security patches
Download this release

Release Info

Developer vsourz1td
Plugin Icon 128x128 Advanced Contact form 7 DB
Version 1.8.5
Comparing to
See all releases

Code changes from version 1.8.4 to 1.8.5

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: vsourz1td
3
  Tags: contact form 7 db, contact form db, advanced cf7 db, contact form 7 database, contact form db, contact form 7, save form data, save contact form, save cf7, database, cf7db, save-contact-form, Save-Forms-Data, import-cf7, export-contact-data, view-cf7-entry
4
  Requires at least: 4.0
5
  Tested up to: 5.8.2
6
- Stable tag: 1.8.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -191,6 +191,10 @@ return $contact_form_ids;
191
 
192
 
193
  == Changelog ==
 
 
 
 
194
  = 1.8.4 =
195
  * We have upgraded with Security patches
196
  * Remove Export to PDF support
3
  Tags: contact form 7 db, contact form db, advanced cf7 db, contact form 7 database, contact form db, contact form 7, save form data, save contact form, save cf7, database, cf7db, save-contact-form, Save-Forms-Data, import-cf7, export-contact-data, view-cf7-entry
4
  Requires at least: 4.0
5
  Tested up to: 5.8.2
6
+ Stable tag: 1.8.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
191
 
192
 
193
  == Changelog ==
194
+
195
+ = 1.8.5 =
196
+ * We have upgraded with Security patches
197
+
198
  = 1.8.4 =
199
  * We have upgraded with Security patches
200
  * Remove Export to PDF support
admin/class-advanced-cf7-db-admin.php CHANGED
@@ -921,7 +921,8 @@ class Advanced_Cf7_Db_Admin {
921
 
922
  $file_path = $dir_upload."/".basename($file_url);
923
  if(file_exists($file_path)){
924
- $ret = unlink($file_path);
 
925
  }
926
  }
927
  }
@@ -1363,8 +1364,15 @@ class Advanced_Cf7_Db_Admin {
1363
  $upload_dir = wp_upload_dir();
1364
  $dir_upload = $upload_dir['basedir'] .'/' .VSZ_CF7_UPLOAD_FOLDER;
1365
 
1366
- unlink($dir_upload.'/'.$val);
1367
- echo esc_html("y");
 
 
 
 
 
 
 
1368
  wp_die();
1369
  }
1370
  else{
921
 
922
  $file_path = $dir_upload."/".basename($file_url);
923
  if(file_exists($file_path)){
924
+ //$ret = unlink($file_path);
925
+ wp_delete_file( $file_path );
926
  }
927
  }
928
  }
1364
  $upload_dir = wp_upload_dir();
1365
  $dir_upload = $upload_dir['basedir'] .'/' .VSZ_CF7_UPLOAD_FOLDER;
1366
 
1367
+ $delete_path = path_join($dir_upload,$val);
1368
+ if(file_exists($delete_path)){
1369
+ wp_delete_file( $delete_path );
1370
+
1371
+ echo esc_html("y");
1372
+ }else{
1373
+ echo esc_html("n");
1374
+ }
1375
+
1376
  wp_die();
1377
  }
1378
  else{
advanced-cf7-db.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin Name: Advanced CF7 DB
10
  * Plugin URI: https://wordpress.org/plugins/advanced-cf7-db/
11
  * Description: Save all contact form 7 submitted data to the database, View, Export, ordering, Change field labels, Import data using CSV very easily.
12
- * Version: 1.8.4
13
  * Author: Vsourz Digital
14
  * Author URI: https://www.vsourz.com
15
  * License: GPL-2.0+
@@ -23,7 +23,7 @@ if ( ! defined( 'WPINC' ) ) {
23
  die;
24
  }
25
  global $vsz_cf7db_current_version;
26
- $vsz_cf7db_current_version = '1.8.4';
27
  /**
28
  * Defining all the table names and setting their prefix here
29
  */
9
  * Plugin Name: Advanced CF7 DB
10
  * Plugin URI: https://wordpress.org/plugins/advanced-cf7-db/
11
  * Description: Save all contact form 7 submitted data to the database, View, Export, ordering, Change field labels, Import data using CSV very easily.
12
+ * Version: 1.8.5
13
  * Author: Vsourz Digital
14
  * Author URI: https://www.vsourz.com
15
  * License: GPL-2.0+
23
  die;
24
  }
25
  global $vsz_cf7db_current_version;
26
+ $vsz_cf7db_current_version = '1.8.5';
27
  /**
28
  * Defining all the table names and setting their prefix here
29
  */
includes/class-advanced-cf7-db.php CHANGED
@@ -69,7 +69,7 @@ class Advanced_Cf7_Db {
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'advanced-cf7-db';
72
- $this->version = '1.8.4';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'advanced-cf7-db';
72
+ $this->version = '1.8.5';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();