XCloner – Backup and Restore - Version 4.4.3

Version Description

  • remove PHP Short Tags to be compliant with WordPress guidelines
Download this release

Release Info

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

Code changes from version 4.4.2 to 4.4.3

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: backup, database backup, cloud backup, WordPress backup, WordPress migrati
5
  Requires at least: 5.1
6
  Requires PHP: 7.3
7
  Tested up to: 6.0
8
- Stable tag: 4.4.2
9
 
10
 
11
  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.
@@ -117,11 +117,13 @@ Of course, schedules can be adjusted accordingly to how often you update your si
117
 
118
  == Changelog ==
119
 
 
 
 
120
  = 4.4.2 =
121
  * fix: https://github.com/watchfulli/XCloner-Wordpress/issues/227
122
  * fix: https://github.com/watchfulli/XCloner-Wordpress/issues/231
123
 
124
-
125
  = 4.4.1 =
126
  * minor code review
127
 
5
  Requires at least: 5.1
6
  Requires PHP: 7.3
7
  Tested up to: 6.0
8
+ Stable tag: 4.4.3
9
 
10
 
11
  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.
117
 
118
  == Changelog ==
119
 
120
+ = 4.4.3 =
121
+ * remove PHP Short Tags to be compliant with WordPress guidelines
122
+
123
  = 4.4.2 =
124
  * fix: https://github.com/watchfulli/XCloner-Wordpress/issues/227
125
  * fix: https://github.com/watchfulli/XCloner-Wordpress/issues/231
126
 
 
127
  = 4.4.1 =
128
  * minor code review
129
 
admin/partials/xcloner_header.php CHANGED
@@ -1,42 +1,42 @@
1
  <a href="https://www.xcloner.com" target="_blank" title="XCloner.com">
2
- <img src="<?=plugin_dir_url((__DIR__))?>/images/xcloner-logo.svg" class="xcloner-logo"
3
  alt="XCloner backup and restore plugin" />
4
  </a>
5
  <!-- Dropdown Trigger -->
6
  <h1 class="xcloner-menu dropdown-trigger btn" href="#" data-target="dropdown1">
7
- <?= esc_html(get_admin_page_title()); ?><i class="material-icons">expand_more</i>
8
  </h1>
9
 
10
  <!-- Dropdown Structure -->
11
  <ul id="dropdown1" class="xcloner-menu dropdown-content" style="width: 250px">
12
  <li>
13
- <a href="<?=menu_page_url('xcloner_init_page', false)?>"><i
14
- class="material-icons">dashboard</i><?=__('Dashboard', 'xcloner-backup-and-restore')?></a>
15
  </li>
16
  <li>
17
- <a href="<?=menu_page_url('xcloner_settings_page', false)?>"><i
18
- class="material-icons">settings</i><?=__('Settings', 'xcloner-backup-and-restore')?></a>
19
  </li>
20
  <li class="divider" tabindex="-1"></li>
21
  <li>
22
- <a href="<?=menu_page_url('xcloner_remote_storage_page', false)?>"><i
23
- class="material-icons">swap_horiz</i><?=__('Storage Locations', 'xcloner-backup-and-restore')?></a>
24
  </li>
25
  <li>
26
- <a href="<?=menu_page_url('xcloner_scheduled_backups_page', false)?>"><i
27
- class="material-icons">schedule</i><?=__('Schedules & Profiles', 'xcloner-backup-and-restore')?></a>
28
  </li>
29
  <li>
30
- <a href="<?=menu_page_url('xcloner_manage_backups_page', false)?>"><i
31
- class="material-icons">archive</i><?=__('Manage Backups', 'xcloner-backup-and-restore')?></a>
32
  </li>
33
  <li>
34
- <a href="<?=menu_page_url('xcloner_generate_backups_page', false)?>"><i
35
- class="material-icons">create</i><?=__('Generate Backups', 'xcloner-backup-and-restore')?></a>
36
  </li>
37
  <li>
38
- <a href="<?=menu_page_url('xcloner_restore_page', false)?>"><i
39
- class="material-icons">restore</i><?=__('Restore Backups', 'xcloner-backup-and-restore')?></a>
40
  </li>
41
  </ul>
42
 
@@ -44,4 +44,4 @@
44
  jQuery(".dropdown-trigger").dropdown({
45
  constrainWidth: true
46
  });
47
- </script>
1
  <a href="https://www.xcloner.com" target="_blank" title="XCloner.com">
2
+ <img src="<? echo plugin_dir_url((__DIR__))?>/images/xcloner-logo.svg" class="xcloner-logo"
3
  alt="XCloner backup and restore plugin" />
4
  </a>
5
  <!-- Dropdown Trigger -->
6
  <h1 class="xcloner-menu dropdown-trigger btn" href="#" data-target="dropdown1">
7
+ <?php echo esc_html(get_admin_page_title()); ?><i class="material-icons">expand_more</i>
8
  </h1>
9
 
10
  <!-- Dropdown Structure -->
11
  <ul id="dropdown1" class="xcloner-menu dropdown-content" style="width: 250px">
12
  <li>
13
+ <a href="<?php echo menu_page_url('xcloner_init_page', false)?>"><i
14
+ class="material-icons">dashboard</i><?php echo __('Dashboard', 'xcloner-backup-and-restore')?></a>
15
  </li>
16
  <li>
17
+ <a href="<?php echo menu_page_url('xcloner_settings_page', false)?>"><i
18
+ class="material-icons">settings</i><?php echo __('Settings', 'xcloner-backup-and-restore')?></a>
19
  </li>
20
  <li class="divider" tabindex="-1"></li>
21
  <li>
22
+ <a href="<?php echo menu_page_url('xcloner_remote_storage_page', false)?>"><i
23
+ class="material-icons">swap_horiz</i><?php echo __('Storage Locations', 'xcloner-backup-and-restore')?></a>
24
  </li>
25
  <li>
26
+ <a href="<?php echo menu_page_url('xcloner_scheduled_backups_page', false)?>"><i
27
+ class="material-icons">schedule</i><?php echo __('Schedules & Profiles', 'xcloner-backup-and-restore')?></a>
28
  </li>
29
  <li>
30
+ <a href="<?php echo menu_page_url('xcloner_manage_backups_page', false)?>"><i
31
+ class="material-icons">archive</i><?php echo __('Manage Backups', 'xcloner-backup-and-restore')?></a>
32
  </li>
33
  <li>
34
+ <a href="<?php echo menu_page_url('xcloner_generate_backups_page', false)?>"><i
35
+ class="material-icons">create</i><?php echo __('Generate Backups', 'xcloner-backup-and-restore')?></a>
36
  </li>
37
  <li>
38
+ <a href="<?php echo menu_page_url('xcloner_restore_page', false)?>"><i
39
+ class="material-icons">restore</i><?php echo __('Restore Backups', 'xcloner-backup-and-restore')?></a>
40
  </li>
41
  </ul>
42
 
44
  jQuery(".dropdown-trigger").dropdown({
45
  constrainWidth: true
46
  });
47
+ </script>
admin/partials/xcloner_manage_backups_page.php CHANGED
@@ -17,7 +17,7 @@ $available_storages = $xcloner_remote_storage->get_available_storages();
17
  ?>
18
 
19
  <script>
20
- var storage_selection = '<?=$storage_selection?>';
21
  </script>
22
 
23
  <div class="row">
@@ -133,9 +133,9 @@ $available_storages = $xcloner_remote_storage->get_available_storages();
133
  <?php echo __("This option will decrypt your backup archive with your current XCloner Encryption Key or the key provided below, requires PHP openssl library installed.", 'xcloner-backup-and-restore') ?>
134
  </p>
135
  <p>
136
- <?=__('Provide Alternative Decryption Key:')?>
137
  <input type="text" name="decryption_key" id="decryption_key"
138
- placeholder="<?=__('Decryption Key', 'xcloner-backup-and-restore')?>" />
139
  </p>
140
  <p class="center-align">
141
  <a
17
  ?>
18
 
19
  <script>
20
+ var storage_selection = '<?php echo $storage_selection?>';
21
  </script>
22
 
23
  <div class="row">
133
  <?php echo __("This option will decrypt your backup archive with your current XCloner Encryption Key or the key provided below, requires PHP openssl library installed.", 'xcloner-backup-and-restore') ?>
134
  </p>
135
  <p>
136
+ <?php echo __('Provide Alternative Decryption Key:')?>
137
  <input type="text" name="decryption_key" id="decryption_key"
138
+ placeholder="<?php echo __('Decryption Key', 'xcloner-backup-and-restore')?>" />
139
  </p>
140
  <p class="center-align">
141
  <a
admin/partials/xcloner_remote_storage_page.php CHANGED
@@ -165,8 +165,8 @@ $common_cleanup_html = ob_get_contents();
165
 
166
  //var remote_storage = new Xcloner_Remote_Storage();
167
 
168
- var watchful_gdrive_redirect_uri = "<?=$remote_storage::GDRIVE_REDIRECT_URL_WATCHFUL?>";
169
- var default_gdrive_redirect_uri = "<?=$remote_storage::GDRIVE_REDIRECT_URL?>";
170
 
171
  checkEndpoint()
172
  jQuery("#aws_region").on("change", function () {
165
 
166
  //var remote_storage = new Xcloner_Remote_Storage();
167
 
168
+ var watchful_gdrive_redirect_uri = "<?php echo $remote_storage::GDRIVE_REDIRECT_URL_WATCHFUL?>";
169
+ var default_gdrive_redirect_uri = "<?php echo $remote_storage::GDRIVE_REDIRECT_URL?>";
170
 
171
  checkEndpoint()
172
  jQuery("#aws_region").on("change", function () {
vendor/autoload.php CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
- return ComposerAutoloaderInit238ab22fb5f7b2c52596ccc9f2b13d04::getLoader();
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInit7d696a29834d5159beec8c46eb63aace::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit238ab22fb5f7b2c52596ccc9f2b13d04
6
  {
7
  private static $loader;
8
 
@@ -24,18 +24,18 @@ class ComposerAutoloaderInit238ab22fb5f7b2c52596ccc9f2b13d04
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit238ab22fb5f7b2c52596ccc9f2b13d04', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit238ab22fb5f7b2c52596ccc9f2b13d04', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInit238ab22fb5f7b2c52596ccc9f2b13d04::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
- $includeFiles = \Composer\Autoload\ComposerStaticInit238ab22fb5f7b2c52596ccc9f2b13d04::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
- composerRequire238ab22fb5f7b2c52596ccc9f2b13d04($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
@@ -47,7 +47,7 @@ class ComposerAutoloaderInit238ab22fb5f7b2c52596ccc9f2b13d04
47
  * @param string $file
48
  * @return void
49
  */
50
- function composerRequire238ab22fb5f7b2c52596ccc9f2b13d04($fileIdentifier, $file)
51
  {
52
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
53
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit7d696a29834d5159beec8c46eb63aace
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit7d696a29834d5159beec8c46eb63aace', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit7d696a29834d5159beec8c46eb63aace', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInit7d696a29834d5159beec8c46eb63aace::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
+ $includeFiles = \Composer\Autoload\ComposerStaticInit7d696a29834d5159beec8c46eb63aace::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
+ composerRequire7d696a29834d5159beec8c46eb63aace($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
47
  * @param string $file
48
  * @return void
49
  */
50
+ function composerRequire7d696a29834d5159beec8c46eb63aace($fileIdentifier, $file)
51
  {
52
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
53
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit238ab22fb5f7b2c52596ccc9f2b13d04
8
  {
9
  public static $files = array (
10
  '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
@@ -7957,10 +7957,10 @@ class ComposerStaticInit238ab22fb5f7b2c52596ccc9f2b13d04
7957
  public static function getInitializer(ClassLoader $loader)
7958
  {
7959
  return \Closure::bind(function () use ($loader) {
7960
- $loader->prefixLengthsPsr4 = ComposerStaticInit238ab22fb5f7b2c52596ccc9f2b13d04::$prefixLengthsPsr4;
7961
- $loader->prefixDirsPsr4 = ComposerStaticInit238ab22fb5f7b2c52596ccc9f2b13d04::$prefixDirsPsr4;
7962
- $loader->prefixesPsr0 = ComposerStaticInit238ab22fb5f7b2c52596ccc9f2b13d04::$prefixesPsr0;
7963
- $loader->classMap = ComposerStaticInit238ab22fb5f7b2c52596ccc9f2b13d04::$classMap;
7964
 
7965
  }, null, ClassLoader::class);
7966
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit7d696a29834d5159beec8c46eb63aace
8
  {
9
  public static $files = array (
10
  '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
7957
  public static function getInitializer(ClassLoader $loader)
7958
  {
7959
  return \Closure::bind(function () use ($loader) {
7960
+ $loader->prefixLengthsPsr4 = ComposerStaticInit7d696a29834d5159beec8c46eb63aace::$prefixLengthsPsr4;
7961
+ $loader->prefixDirsPsr4 = ComposerStaticInit7d696a29834d5159beec8c46eb63aace::$prefixDirsPsr4;
7962
+ $loader->prefixesPsr0 = ComposerStaticInit7d696a29834d5159beec8c46eb63aace::$prefixesPsr0;
7963
+ $loader->classMap = ComposerStaticInit7d696a29834d5159beec8c46eb63aace::$classMap;
7964
 
7965
  }, null, ClassLoader::class);
7966
  }
vendor/composer/installed.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'watchfulli/xcloner-wordpress',
4
- 'pretty_version' => 'v4.4.2',
5
- 'version' => '4.4.2.0',
6
- 'reference' => '925987090a887d9d37cae7e5f8000a4c9037251f',
7
  'type' => 'library',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
@@ -404,9 +404,9 @@
404
  'dev_requirement' => false,
405
  ),
406
  'watchfulli/xcloner-wordpress' => array(
407
- 'pretty_version' => 'v4.4.2',
408
- 'version' => '4.4.2.0',
409
- 'reference' => '925987090a887d9d37cae7e5f8000a4c9037251f',
410
  'type' => 'library',
411
  'install_path' => __DIR__ . '/../../',
412
  'aliases' => array(),
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'watchfulli/xcloner-wordpress',
4
+ 'pretty_version' => 'v4.4.3',
5
+ 'version' => '4.4.3.0',
6
+ 'reference' => '9652dd8045c6a52e754ec4b94508c954ce323038',
7
  'type' => 'library',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
404
  'dev_requirement' => false,
405
  ),
406
  'watchfulli/xcloner-wordpress' => array(
407
+ 'pretty_version' => 'v4.4.3',
408
+ 'version' => '4.4.3.0',
409
+ 'reference' => '9652dd8045c6a52e754ec4b94508c954ce323038',
410
  'type' => 'library',
411
  'install_path' => __DIR__ . '/../../',
412
  'aliases' => array(),
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.4.2
19
  * Author: watchful
20
  * Author URI: https://watchful.net/
21
  * License: GPL-2.0+
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.4.3
19
  * Author: watchful
20
  * Author URI: https://watchful.net/
21
  * License: GPL-2.0+