WordPress Backup and Migrate Plugin – Backup Guard - Version 1.5.8

Version Description

  • Deactivation survey removed
  • PHP 8 related fixes
Download this release

Release Info

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

Code changes from version 1.5.7 to 1.5.8

Files changed (4) hide show
  1. BackupGuard.php +5 -5
  2. README.txt +6 -2
  3. backup.php +2 -2
  4. com/lib/SGMysqldump.php +1 -1
BackupGuard.php CHANGED
@@ -58,7 +58,7 @@ add_filter('upgrader_pre_download', 'backupGuardMaybeShortenEddFilename', 10, 4)
58
  register_activation_hook(SG_BACKUP_GUARD_MAIN_FILE, 'activate_backup_guard');
59
  register_uninstall_hook(SG_BACKUP_GUARD_MAIN_FILE, 'uninstall_backup_guard');
60
  register_deactivation_hook(SG_BACKUP_GUARD_MAIN_FILE, 'deactivate_backup_guard');
61
- add_action('admin_footer', 'before_deactivate_backup_guard');
62
 
63
  function before_deactivate_backup_guard()
64
  {
@@ -70,7 +70,7 @@ function before_deactivate_backup_guard()
70
  'areYouSure' => _backupGuardT('Are you sure?', true),
71
  'invalidCloud' => _backupGuardT('Please select at least 1 cloud', true)
72
  ));
73
-
74
  require_once(plugin_dir_path(__FILE__).'public/include/uninstallSurveyPopup.php');
75
  }
76
 
@@ -340,7 +340,7 @@ function enqueue_backup_guard_scripts($hook)
340
  wp_localize_script('backup-guard-main-js', 'BG_MAIN_STRINGS', array(
341
  'confirmCancel' => _backupGuardT('Are you sure you want to cancel?', true)
342
  ));
343
-
344
  wp_localize_script('backup-guard-main-js', 'BG_BACKUP_STRINGS', array(
345
  'nonce' => wp_create_nonce('backupGuardAjaxNonce')
346
  ));
@@ -811,7 +811,7 @@ function backup_guard_init()
811
  {
812
  backup_guard_register_ajax_callbacks();
813
  // backupGuardPluginRedirect();
814
-
815
  //check if database should be updated
816
  if (backupGuardShouldUpdate()) {
817
  SGBoot::install();
@@ -1078,4 +1078,4 @@ function backup_guard_review_banner()
1078
  require_once(SG_LIB_PATH.'SGReviewManager.php');
1079
  $reviewManager = new SGReviewManager();
1080
  $reviewManager->renderContent();
1081
- }
58
  register_activation_hook(SG_BACKUP_GUARD_MAIN_FILE, 'activate_backup_guard');
59
  register_uninstall_hook(SG_BACKUP_GUARD_MAIN_FILE, 'uninstall_backup_guard');
60
  register_deactivation_hook(SG_BACKUP_GUARD_MAIN_FILE, 'deactivate_backup_guard');
61
+ //add_action('admin_footer', 'before_deactivate_backup_guard');
62
 
63
  function before_deactivate_backup_guard()
64
  {
70
  'areYouSure' => _backupGuardT('Are you sure?', true),
71
  'invalidCloud' => _backupGuardT('Please select at least 1 cloud', true)
72
  ));
73
+
74
  require_once(plugin_dir_path(__FILE__).'public/include/uninstallSurveyPopup.php');
75
  }
76
 
340
  wp_localize_script('backup-guard-main-js', 'BG_MAIN_STRINGS', array(
341
  'confirmCancel' => _backupGuardT('Are you sure you want to cancel?', true)
342
  ));
343
+
344
  wp_localize_script('backup-guard-main-js', 'BG_BACKUP_STRINGS', array(
345
  'nonce' => wp_create_nonce('backupGuardAjaxNonce')
346
  ));
811
  {
812
  backup_guard_register_ajax_callbacks();
813
  // backupGuardPluginRedirect();
814
+
815
  //check if database should be updated
816
  if (backupGuardShouldUpdate()) {
817
  SGBoot::install();
1078
  require_once(SG_LIB_PATH.'SGReviewManager.php');
1079
  $reviewManager = new SGReviewManager();
1080
  $reviewManager->renderContent();
1081
+ }
README.txt CHANGED
@@ -4,9 +4,9 @@ Contributors: Backup Guard, Backup Guard Support
4
  Author: Backup Guard
5
  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: 3.8
8
  Tested up to: 5.6
9
- Stable tag: 1.5.7
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -167,6 +167,10 @@ When you are facing an issue of any kind with any of our products, the first thi
167
  6. Site backup customization
168
 
169
  == Changelog ==
 
 
 
 
170
  = 1.5.7 =
171
  * Fix error message when no cloud is selected
172
  * Fix localization issue
4
  Author: Backup Guard
5
  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: 3.9
8
  Tested up to: 5.6
9
+ Stable tag: 1.5.8
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
167
  6. Site backup customization
168
 
169
  == Changelog ==
170
+ = 1.5.8 =
171
+ * Deactivation survey removed
172
+ * PHP 8 related fixes
173
+
174
  = 1.5.7 =
175
  * Fix error message when no cloud is selected
176
  * Fix localization issue
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.5.7
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.5.7');
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.5.8
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.5.8');
20
  }
21
 
22
  if (!defined('SG_BACKUP_GUARD_MAIN_FILE')) {
com/lib/SGMysqldump.php CHANGED
@@ -746,7 +746,7 @@ class SGMysqldump
746
  $colStmt[] = "`${colName}`";
747
  }
748
  }
749
- $colStmt = implode($colStmt, ",");
750
 
751
  return $colStmt;
752
  }
746
  $colStmt[] = "`${colName}`";
747
  }
748
  }
749
+ $colStmt = implode(",", $colStmt);
750
 
751
  return $colStmt;
752
  }