Version Description
- Successfully tested with WordPress 5.8.
- Fixed: Creating tables failed when restoring the database in some cases.
- Fixed some bugs in the plugin code.
- Optimized the plugin code.
Download this release
Release Info
Developer | wpvivid |
Plugin | Migration, Backup, Staging – WPvivid |
Version | 0.9.55 |
Comparing to | |
See all releases |
Code changes from version 0.9.54 to 0.9.55
admin/partials/wpvivid-backup-restore-page-display.php
CHANGED
@@ -1283,7 +1283,7 @@ function wpvivid_backuppage_add_page_restore(){
|
|
1283 |
</label><br>
|
1284 |
</div>
|
1285 |
<div>
|
1286 |
-
<p><strong><?php _e('Tips:', 'wpvivid-backuprestore'); ?></strong> <?php _e('
|
1287 |
</div>
|
1288 |
<div id="wpvivid_restore_check"></div>
|
1289 |
<div class="restore-button-position" id="wpvivid_restore_part"><input class="button-primary" id="wpvivid_restore_btn" type="submit" name="restore" value="<?php esc_attr_e( 'Restore', 'wpvivid-backuprestore' ); ?>" onclick="wpvivid_start_restore();" /></div>
|
1283 |
</label><br>
|
1284 |
</div>
|
1285 |
<div>
|
1286 |
+
<p><strong><?php _e('Tips:', 'wpvivid-backuprestore'); ?></strong> <?php _e('If you are migrating a website, the source domain will be replaced with the target domain automatically. For example, if you are migrating a.com to b.com, then a.com will be replaced with b.com during the restore.', 'wpvivid-backuprestore'); ?></p>
|
1287 |
</div>
|
1288 |
<div id="wpvivid_restore_check"></div>
|
1289 |
<div class="restore-button-position" id="wpvivid_restore_part"><input class="button-primary" id="wpvivid_restore_btn" type="submit" name="restore" value="<?php esc_attr_e( 'Restore', 'wpvivid-backuprestore' ); ?>" onclick="wpvivid_start_restore();" /></div>
|
includes/class-wpvivid-restore-database.php
CHANGED
@@ -794,6 +794,12 @@ class WPvivid_RestoreDB
|
|
794 |
}
|
795 |
*/
|
796 |
|
|
|
|
|
|
|
|
|
|
|
|
|
797 |
$this->execute_sql($query);
|
798 |
|
799 |
return $table_name;
|
@@ -821,7 +827,15 @@ class WPvivid_RestoreDB
|
|
821 |
}
|
822 |
}
|
823 |
//$query=str_replace('INSERT INTO', 'INSERT IGNORE INTO', $query);
|
824 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
825 |
}
|
826 |
|
827 |
private function drop_table($query)
|
794 |
}
|
795 |
*/
|
796 |
|
797 |
+
if(preg_match('/\/\*!.*\*\//', $query, $matches))
|
798 |
+
{
|
799 |
+
$annotation_content = $matches[0];
|
800 |
+
$query = str_replace($annotation_content, '', $query);
|
801 |
+
}
|
802 |
+
|
803 |
$this->execute_sql($query);
|
804 |
|
805 |
return $table_name;
|
827 |
}
|
828 |
}
|
829 |
//$query=str_replace('INSERT INTO', 'INSERT IGNORE INTO', $query);
|
830 |
+
|
831 |
+
$pos=strpos($query,'mainwp_child_');
|
832 |
+
if($pos!==false)
|
833 |
+
{
|
834 |
+
$wpvivid_plugin->restore_data->write_log('skip insert item: '.$query,'notice');
|
835 |
+
}
|
836 |
+
else{
|
837 |
+
$this->execute_sql($query);
|
838 |
+
}
|
839 |
}
|
840 |
|
841 |
private function drop_table($query)
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: wpvivid
|
3 |
Tags: move, clone, migrate, cleaner, backup, restore, auto backup, cloud backup
|
4 |
Requires at least: 4.5
|
5 |
-
Tested up to: 5.
|
6 |
Requires PHP: 5.3
|
7 |
-
Stable tag: 0.9.
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
@@ -75,7 +75,7 @@ Scan your WP media library to find unused images, then you can choose to clean s
|
|
75 |
== Cloud Storage Supported ==
|
76 |
|
77 |
Dropbox, Google Drive, Microsoft OneDrive, Amazon S3, DigitalOcean Spaces, SFTP, FTP.
|
78 |
-
The pro version also supports Wasabi, pCloud and more are coming soon.
|
79 |
|
80 |
== Features Spotlight ==
|
81 |
* One-Click Site Move or Migration
|
@@ -109,7 +109,6 @@ The pro version also supports Wasabi, pCloud and more are coming soon.
|
|
109 |
* PHP version 5.3
|
110 |
* MySQL version 4.1
|
111 |
* WordPress 4.5
|
112 |
-
= Note = Please note that the plugin is currently not compatible with PHP 8. We are going to fix it in the near future.
|
113 |
|
114 |
== Support ==
|
115 |
We offer free support in 3 channels:
|
@@ -158,7 +157,7 @@ As the name says, WPvivid Backup Plugin is an all in one free WP backup plugin t
|
|
158 |
Yes, we have added website migration feature since version 0.9.14.
|
159 |
Yes, it's a completely free feature.
|
160 |
= How many cloud options does WPvivid Backup Plugin support? Are they free to access? =
|
161 |
-
Out of the box we support Dropbox, Google Drive, Amazon S3, Microsoft OneDrive, DigitalOcean Spaces, we also support FTP, SFTP methods which you can use on any other remote storage provider supporting these methods.
|
162 |
|
163 |
Yes, all the cloud access is free.
|
164 |
= Can I use WPvivid Backup Plugin to restore my site? =
|
@@ -187,6 +186,11 @@ Thank you for translating WPvivid Backup Plugin to your languages!
|
|
187 |
* [Daniel Wilczkowiak](https://profiles.wordpress.org/virtual03/) (German)
|
188 |
|
189 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
190 |
= 0.9.54 =
|
191 |
- Added support for PHP 8.
|
192 |
- Fixed some bugs in the plugin code.
|
2 |
Contributors: wpvivid
|
3 |
Tags: move, clone, migrate, cleaner, backup, restore, auto backup, cloud backup
|
4 |
Requires at least: 4.5
|
5 |
+
Tested up to: 5.8
|
6 |
Requires PHP: 5.3
|
7 |
+
Stable tag: 0.9.55
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
75 |
== Cloud Storage Supported ==
|
76 |
|
77 |
Dropbox, Google Drive, Microsoft OneDrive, Amazon S3, DigitalOcean Spaces, SFTP, FTP.
|
78 |
+
The pro version also supports Wasabi, pCloud, Backblaze and more are coming soon.
|
79 |
|
80 |
== Features Spotlight ==
|
81 |
* One-Click Site Move or Migration
|
109 |
* PHP version 5.3
|
110 |
* MySQL version 4.1
|
111 |
* WordPress 4.5
|
|
|
112 |
|
113 |
== Support ==
|
114 |
We offer free support in 3 channels:
|
157 |
Yes, we have added website migration feature since version 0.9.14.
|
158 |
Yes, it's a completely free feature.
|
159 |
= How many cloud options does WPvivid Backup Plugin support? Are they free to access? =
|
160 |
+
Out of the box we support Dropbox, Google Drive, Amazon S3, Microsoft OneDrive, DigitalOcean Spaces, we also support FTP, SFTP methods which you can use on any other remote storage provider supporting these methods.
|
161 |
|
162 |
Yes, all the cloud access is free.
|
163 |
= Can I use WPvivid Backup Plugin to restore my site? =
|
186 |
* [Daniel Wilczkowiak](https://profiles.wordpress.org/virtual03/) (German)
|
187 |
|
188 |
== Changelog ==
|
189 |
+
= 0.9.55 =
|
190 |
+
- Successfully tested with WordPress 5.8.
|
191 |
+
- Fixed: Creating tables failed when restoring the database in some cases.
|
192 |
+
- Fixed some bugs in the plugin code.
|
193 |
+
- Optimized the plugin code.
|
194 |
= 0.9.54 =
|
195 |
- Added support for PHP 8.
|
196 |
- Fixed some bugs in the plugin code.
|
wpvivid-backuprestore.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @wordpress-plugin
|
8 |
* Plugin Name: WPvivid Backup Plugin
|
9 |
* Description: Clone or copy WP sites then move or migrate them to new host (new domain), schedule backups, transfer backups to leading remote storage. All in one.
|
10 |
-
* Version: 0.9.
|
11 |
* Author: WPvivid Team
|
12 |
* Author URI: https://wpvivid.com
|
13 |
* License: GPL-3.0+
|
@@ -21,7 +21,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
21 |
die;
|
22 |
}
|
23 |
|
24 |
-
define( 'WPVIVID_PLUGIN_VERSION', '0.9.
|
25 |
//
|
26 |
define('WPVIVID_RESTORE_INIT','init');
|
27 |
define('WPVIVID_RESTORE_READY','ready');
|
7 |
* @wordpress-plugin
|
8 |
* Plugin Name: WPvivid Backup Plugin
|
9 |
* Description: Clone or copy WP sites then move or migrate them to new host (new domain), schedule backups, transfer backups to leading remote storage. All in one.
|
10 |
+
* Version: 0.9.55
|
11 |
* Author: WPvivid Team
|
12 |
* Author URI: https://wpvivid.com
|
13 |
* License: GPL-3.0+
|
21 |
die;
|
22 |
}
|
23 |
|
24 |
+
define( 'WPVIVID_PLUGIN_VERSION', '0.9.55' );
|
25 |
//
|
26 |
define('WPVIVID_RESTORE_INIT','init');
|
27 |
define('WPVIVID_RESTORE_READY','ready');
|