XCloner – Backup and Restore - Version 4.2.4

Version Description

= 3.0.3 = Please check changelog!

Download this release

Release Info

Developer watchful
Plugin Icon 128x128 XCloner – Backup and Restore
Version 4.2.4
Comparing to
See all releases

Code changes from version 4.2.3 to 4.2.4

Files changed (2) hide show
  1. README.txt +5 -1
  2. xcloner.php +23 -22
README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.xcloner.com
4
  Tags: backup, database backup, cloud backup, WordPress backup, WordPress migration
5
  Requires at least: 3.0.1
6
  Tested up to: 5.4
7
- Stable tag: 4.2.3
8
 
9
  XCloner is a backup plugin that allows you to safely back up and restore your WordPress sites. You can send site backups to SFTP, Dropbox, Amazon, Google Drive, Backblaze and other locations.
10
 
@@ -115,6 +115,10 @@ Of course, schedules can be adjusted accordingly to how often you update your si
115
 
116
  == Changelog ==
117
 
 
 
 
 
118
  * 4.2.3 *
119
 
120
  * PHP 7.x minimum support activation
4
  Tags: backup, database backup, cloud backup, WordPress backup, WordPress migration
5
  Requires at least: 3.0.1
6
  Tested up to: 5.4
7
+ Stable tag: 4.2.4
8
 
9
  XCloner is a backup plugin that allows you to safely back up and restore your WordPress sites. You can send site backups to SFTP, Dropbox, Amazon, Google Drive, Backblaze and other locations.
10
 
115
 
116
  == Changelog ==
117
 
118
+ * 4.2.4 *
119
+
120
+ * PHP 7.x bug fix
121
+
122
  * 4.2.3 *
123
 
124
  * PHP 7.x minimum support activation
xcloner.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: XCloner - Site Backup and Restore
16
  * Plugin URI: https://xcloner.com/
17
  * Description: XCloner is a tool that will help you manage your website backups, generate/restore/move so your website will be always secured! With XCloner you will be able to clone your site to any other location with just a few clicks, as well as transfer the backup archives to remote FTP, SFTP, DropBox, Amazon S3, Google Drive, WebDAV, Backblaze, Azure accounts.
18
- * Version: 4.2.3
19
  * Author: watchful
20
  * Author URI: https://watchful.net/
21
  * License: GPL-2.0+
@@ -24,6 +24,28 @@
24
  * Domain Path: /languages
25
  */
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  // composer library autoload
28
  require_once(__DIR__.'/vendor/autoload.php');
29
 
@@ -112,27 +134,6 @@ function deactivate_xcloner()
112
  Xcloner_Deactivator::deactivate();
113
  }
114
 
115
- require_once plugin_dir_path(__FILE__).'includes/class-xcloner-activator.php';
116
-
117
- register_activation_hook(__FILE__, 'activate_xcloner');
118
- register_deactivation_hook(__FILE__, 'deactivate_xcloner');
119
-
120
- if (version_compare(phpversion(), Xcloner_Activator::xcloner_minimum_version, '<')) {
121
- ?>
122
- <div class="error notice">
123
- <p><?php echo sprintf(__("XCloner requires minimum PHP version %s in order to run correctly. We have detected your version as %s. Plugin is now deactivated."), Xcloner_Activator::xcloner_minimum_version, phpversion()) ?></p>
124
- </div>
125
- <?php
126
- require_once(ABSPATH.'wp-admin/includes/plugin.php');
127
-
128
- if (function_exists('deactivate_plugins')) {
129
- deactivate_plugins(plugin_basename(__FILE__));
130
- }
131
-
132
-
133
- return;
134
- }
135
-
136
  $db_installed_ver = get_option("xcloner_db_version");
137
  $xcloner_db_version = Xcloner_Activator::xcloner_db_version;
138
 
15
  * Plugin Name: XCloner - Site Backup and Restore
16
  * Plugin URI: https://xcloner.com/
17
  * Description: XCloner is a tool that will help you manage your website backups, generate/restore/move so your website will be always secured! With XCloner you will be able to clone your site to any other location with just a few clicks, as well as transfer the backup archives to remote FTP, SFTP, DropBox, Amazon S3, Google Drive, WebDAV, Backblaze, Azure accounts.
18
+ * Version: 4.2.4
19
  * Author: watchful
20
  * Author URI: https://watchful.net/
21
  * License: GPL-2.0+
24
  * Domain Path: /languages
25
  */
26
 
27
+ require_once plugin_dir_path(__FILE__).'includes/class-xcloner-activator.php';
28
+
29
+ register_activation_hook(__FILE__, 'activate_xcloner');
30
+ register_deactivation_hook(__FILE__, 'deactivate_xcloner');
31
+
32
+ if (version_compare(phpversion(), Xcloner_Activator::xcloner_minimum_version, '<')) {
33
+ ?>
34
+ <div class="error notice">
35
+ <p><?php echo sprintf(__("XCloner requires minimum PHP version %s in order to run correctly. We have detected your version as %s. Plugin is now deactivated."), Xcloner_Activator::xcloner_minimum_version, phpversion()) ?></p>
36
+ </div>
37
+ <?php
38
+ include_once(ABSPATH.'wp-admin/includes/plugin.php');
39
+
40
+ if (function_exists('deactivate_plugins')) {
41
+ deactivate_plugins(plugin_basename(__FILE__));
42
+ }
43
+
44
+
45
+ return;
46
+ }
47
+
48
+
49
  // composer library autoload
50
  require_once(__DIR__.'/vendor/autoload.php');
51
 
134
  Xcloner_Deactivator::deactivate();
135
  }
136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  $db_installed_ver = get_option("xcloner_db_version");
138
  $xcloner_db_version = Xcloner_Activator::xcloner_db_version;
139