WordPress Backup and Migrate Plugin – Backup Guard - Version 1.6.10

Version Description

  • Bug fixed related to exclude paths
Download this release

Release Info

Developer BackupGuard
Plugin Icon 128x128 WordPress Backup and Migrate Plugin – Backup Guard
Version 1.6.10
Comparing to
See all releases

Code changes from version 1.6.9.1 to 1.6.10

Files changed (3) hide show
  1. README.txt +4 -1
  2. backup.php +2 -2
  3. com/config/config.wordpress.php +6 -1
README.txt CHANGED
@@ -6,7 +6,7 @@ Donate link: https://backup-guard.com/products/backup-wordpress
6
  Tags: backup, wordpress backup plugin, backup plugin, database backup, migrate, back up
7
  Requires at least: 5.3
8
  Tested up to: 6.0
9
- Stable tag: 1.6.9.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -168,6 +168,9 @@ When you are facing an issue of any kind with any of our products, the first thi
168
 
169
  == Changelog ==
170
 
 
 
 
171
  = 1.6.9.1 =
172
  * Bug fixed related to security issues
173
 
6
  Tags: backup, wordpress backup plugin, backup plugin, database backup, migrate, back up
7
  Requires at least: 5.3
8
  Tested up to: 6.0
9
+ Stable tag: 1.6.10
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
168
 
169
  == Changelog ==
170
 
171
+ = 1.6.10 =
172
+ * Bug fixed related to exclude paths
173
+
174
  = 1.6.9.1 =
175
  * Bug fixed related to security issues
176
 
backup.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Backup
5
  * Plugin URI: https://backup-guard.com/products/backup-wordpress
6
  * Description: Backup Guard is the most complete site backup and restore plugin. We offer the easiest way to backup, restore or migrate your site. You can backup your files, database or both.
7
- * Version: 1.6.9.1
8
  * Author: BackupGuard
9
  * Author URI: https://backup-guard.com/products/backup-wordpress
10
  * License: GPL-2.0+
@@ -16,7 +16,7 @@ if (function_exists('activate_backup_guard')) {
16
  }
17
 
18
  if (!defined('SG_BACKUP_GUARD_VERSION')) {
19
- define('SG_BACKUP_GUARD_VERSION', '1.6.9.1');
20
  }
21
 
22
  if (!defined('SG_BACKUP_GUARD_MAIN_FILE')) {
4
  * Plugin Name: Backup
5
  * Plugin URI: https://backup-guard.com/products/backup-wordpress
6
  * Description: Backup Guard is the most complete site backup and restore plugin. We offer the easiest way to backup, restore or migrate your site. You can backup your files, database or both.
7
+ * Version: 1.6.10
8
  * Author: BackupGuard
9
  * Author URI: https://backup-guard.com/products/backup-wordpress
10
  * License: GPL-2.0+
16
  }
17
 
18
  if (!defined('SG_BACKUP_GUARD_VERSION')) {
19
+ define('SG_BACKUP_GUARD_VERSION', '1.6.10');
20
  }
21
 
22
  if (!defined('SG_BACKUP_GUARD_MAIN_FILE')) {
com/config/config.wordpress.php CHANGED
@@ -67,7 +67,12 @@ if (@constant("DB_CHARSET")) {
67
  function backupGuardFindExcludesDirs()
68
  {
69
  $callback = function ($value) {
70
- return mb_substr($value, 19);
 
 
 
 
 
71
  };
72
 
73
  $mergedArray = array_merge(
67
  function backupGuardFindExcludesDirs()
68
  {
69
  $callback = function ($value) {
70
+ $marker = stripos($value, 'wp-content/');
71
+ if ($marker) {
72
+ $str = substr($value, $marker);
73
+ }
74
+
75
+ return $str;
76
  };
77
 
78
  $mergedArray = array_merge(