Advanced Contact form 7 DB - Version 1.8.6

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.6
Comparing to
See all releases

Code changes from version 1.8.5 to 1.8.6

README.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -192,6 +192,9 @@ return $contact_form_ids;
192
 
193
  == Changelog ==
194
 
 
 
 
195
  = 1.8.5 =
196
  * We have upgraded with Security patches
197
 
2
  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.9
6
+ Stable tag: 1.8.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
192
 
193
  == Changelog ==
194
 
195
+ = 1.8.6 =
196
+ * We have upgraded with Security patches
197
+
198
  = 1.8.5 =
199
  * We have upgraded with Security patches
200
 
admin/class-advanced-cf7-db-admin.php CHANGED
@@ -919,7 +919,7 @@ class Advanced_Cf7_Db_Admin {
919
  $cf7d_upload_folder = VSZ_CF7_UPLOAD_FOLDER;
920
  $dir_upload = $upload_dir['basedir'] . '/' . $cf7d_upload_folder;
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 );
@@ -1365,8 +1365,10 @@ class Advanced_Cf7_Db_Admin {
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{
919
  $cf7d_upload_folder = VSZ_CF7_UPLOAD_FOLDER;
920
  $dir_upload = $upload_dir['basedir'] . '/' . $cf7d_upload_folder;
921
 
922
+ $file_path = realpath($dir_upload."/".basename($file_url));
923
  if(file_exists($file_path)){
924
  //$ret = unlink($file_path);
925
  wp_delete_file( $file_path );
1365
  $dir_upload = $upload_dir['basedir'] .'/' .VSZ_CF7_UPLOAD_FOLDER;
1366
 
1367
  $delete_path = path_join($dir_upload,$val);
1368
+
1369
+ $realDeletePath = realpath($delete_path);
1370
+ if(file_exists($realDeletePath)){
1371
+ wp_delete_file( $realDeletePath );
1372
 
1373
  echo esc_html("y");
1374
  }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.5
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.5';
27
  /**
28
  * Defining all the table names and setting their prefix here
29
  */
@@ -139,7 +139,7 @@ function vsz_create_index_file()
139
 
140
  $index_file = $acf7db_upload_dir."/index.html";
141
 
142
- if ( !file_exists( $index_file ) ) {
143
 
144
  fopen($index_file, "w");
145
  }
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.6
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.6';
27
  /**
28
  * Defining all the table names and setting their prefix here
29
  */
139
 
140
  $index_file = $acf7db_upload_dir."/index.html";
141
 
142
+ if ( !file_exists( realpath($index_file) ) ) {
143
 
144
  fopen($index_file, "w");
145
  }
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.5';
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.6';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();