WordPress Backup and Migrate Plugin – Backup Guard - Version 1.3.2

Version Description

  • Multiple modal opening issue. When pressing on backup button multiple times, many modals where opening. Now, when pressing on the button only one backup will be implemented.
Download this release

Release Info

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

Code changes from version 1.3.1 to 1.3.2

Files changed (4) hide show
  1. README.txt +6 -1
  2. backup.php +2 -2
  3. com/lib/test.txt +0 -26
  4. public/js/main.js +2 -0
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: 3.8
8
Tested up to: 5.4.1
9
- Stable tag: 1.3.1
10
License: GPLv2 or later
11
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
@@ -157,6 +157,11 @@ When you are facing an issue of any kind with any of our products, the first thi
157
6. Site backup customization
158
159
== Changelog ==
160
= 1.3.1 =
161
* Showing a confirmation alert When deleting multiple backups
162
6
Tags: backup, wordpress backup plugin, backup plugin, database backup, migrate, back up
7
Requires at least: 3.8
8
Tested up to: 5.4.1
9
+ Stable tag: 1.3.2
10
License: GPLv2 or later
11
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
157
6. Site backup customization
158
159
== Changelog ==
160
+ = 1.3.2 =
161
+ * Multiple modal opening issue.
162
+ When pressing on backup button multiple times, many modals where opening.
163
+ Now, when pressing on the button only one backup will be implemented.
164
+
165
= 1.3.1 =
166
* Showing a confirmation alert When deleting multiple backups
167
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.3.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.3.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.3.2
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.3.2');
20
}
21
22
if (!defined('SG_BACKUP_GUARD_MAIN_FILE')) {
com/lib/test.txt DELETED
@@ -1,26 +0,0 @@
1
- Array
2
- (
3
- [siteUrl] => http://localhost:8888/wordpress
4
- [home] => http://localhost:8888/wordpress
5
- [dbPrefix] => wp_
6
- [tables] => ["wp_options","wp_commentmeta","wp_comments","wp_custom","wp_links","wp_postmeta","wp_posts","wp_term_relationships","wp_term_taxonomy","wp_termmeta","wp_terms","wp_usermeta","wp_users","wp_wfblockediplog"]
7
- [method] => 2
8
- [multisitePath] =>
9
- [multisiteDomain] =>
10
- [selectivRestoreable] => 1
11
- [phpVersion] => 7.0.31
12
- [version] => 5
13
- )
14
- Array
15
- (
16
- [siteUrl] => http://localhost:8888/wordpress
17
- [home] => http://localhost:8888/wordpress
18
- [dbPrefix] => wp_
19
- [tables] => ["wp_options","wp_commentmeta","wp_comments","wp_custom","wp_links","wp_postmeta","wp_posts","wp_term_relationships","wp_term_taxonomy","wp_termmeta","wp_terms","wp_usermeta","wp_users","wp_wfblockediplog"]
20
- [method] => 2
21
- [multisitePath] =>
22
- [multisiteDomain] =>
23
- [selectivRestoreable] => 1
24
- [phpVersion] => 7.0.31
25
- [version] => 5
26
- )
public/js/main.js CHANGED
@@ -95,6 +95,7 @@ sgBackup.initModals = function(){
95
body.append(modal);
96
}
97
sgBackup.showAjaxSpinner('#sg-content-wrapper');
98
99
var ajaxHandler = new sgRequestHandler(url, {
100
param: param,
@@ -106,6 +107,7 @@ sgBackup.initModals = function(){
106
ajaxHandler.dataType = 'html';
107
ajaxHandler.callback = function(data, error) {
108
sgBackup.hideAjaxSpinner();
109
if (error===false) {
110
jQuery('#sg-modal').append(data);
111
}
95
body.append(modal);
96
}
97
sgBackup.showAjaxSpinner('#sg-content-wrapper');
98
+ sgBackup.disableUi();
99
100
var ajaxHandler = new sgRequestHandler(url, {
101
param: param,
107
ajaxHandler.dataType = 'html';
108
ajaxHandler.callback = function(data, error) {
109
sgBackup.hideAjaxSpinner();
110
+ sgBackup.enableUi();
111
if (error===false) {
112
jQuery('#sg-modal').append(data);
113
}