Migration, Backup, Staging – WPvivid - Version 0.9.79

Version Description

  • Fixed: All target pages except for home page showed 404 error in some cases after migration.
  • Fixed some bugs in the plugin code.
  • Optimized the plugin code.
  • Successfully tested with WordPress 6.1.
Download this release

Release Info

Developer wpvivid
Plugin Icon 128x128 Migration, Backup, Staging – WPvivid
Version 0.9.79
Comparing to
See all releases

Code changes from version 0.9.78 to 0.9.79

admin/class-wpvivid-admin.php CHANGED
@@ -1512,9 +1512,9 @@ class WPvivid_Admin {
1512
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1513
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1514
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1515
- <p><span style="height: 12px;width: 12px;background-color: #f1f1f1;border-radius: 50%;display: inline-block;"></span></p>
1516
- <p><span style="height: 12px;width: 12px;background-color: #f1f1f1;border-radius: 50%;display: inline-block;"></span></p>
1517
- <p><span style="height: 12px;width: 12px;background-color: #f1f1f1;border-radius: 50%;display: inline-block;"></span></p>
1518
  </td>
1519
  <td style="text-align:center;">
1520
  <p><span style="color: #81d742;"><?php _e('Up to 10 domains', 'wpvivid-backuprestore'); ?></span></p>
@@ -1535,7 +1535,7 @@ class WPvivid_Admin {
1535
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1536
  </td>
1537
  <td style="text-align:center;">
1538
- <p><span style="color: #81d742;"><?php _e('Unlimited', 'wpvivid-backuprestore'); ?></span></p>
1539
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1540
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1541
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
@@ -1547,8 +1547,7 @@ class WPvivid_Admin {
1547
  </tbody>
1548
  <tfoot>
1549
  <tr>
1550
- <th><?php _e('*No credit card needed. Trial starts with the Free Trial plan with 2 sites. You can choose a plan at the end of the trial.', 'wpvivid-backuprestore'); ?></th>
1551
- <th colspan="4" style="text-align:center;"><p style="margin-top: 6px;"><a href="https://wpvivid.com/pricing" class="page-title-action"><?php _e('See Plans', 'wpvivid-backuprestore'); ?></a></p></th>
1552
  </tr>
1553
  </tfoot>
1554
  </table>
1512
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1513
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1514
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1515
+ <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1516
+ <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1517
+ <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1518
  </td>
1519
  <td style="text-align:center;">
1520
  <p><span style="color: #81d742;"><?php _e('Up to 10 domains', 'wpvivid-backuprestore'); ?></span></p>
1535
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1536
  </td>
1537
  <td style="text-align:center;">
1538
+ <p><span style="color: #81d742;"><?php _e('Unlimited domains', 'wpvivid-backuprestore'); ?></span></p>
1539
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1540
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1541
  <p><span style="height: 12px;width: 12px;background-color: #81d742;border-radius: 50%;display: inline-block;"></span></p>
1547
  </tbody>
1548
  <tfoot>
1549
  <tr>
1550
+ <th colspan="5" style="text-align:center;"><p style="margin-top: 6px;"><a href="https://wpvivid.com/pricing" class="page-title-action"><?php _e('See Plans', 'wpvivid-backuprestore'); ?></a></p></th>
 
1551
  </tr>
1552
  </tfoot>
1553
  </table>
includes/class-wpvivid-restore-site.php CHANGED
@@ -203,6 +203,10 @@ class WPvivid_RestoreSite
203
  if (!empty($line))
204
  file_put_contents(get_home_path() . '.htaccess', $line, FILE_APPEND);
205
  }
 
 
 
 
206
  if(file_exists(get_home_path() . '.user.ini'))
207
  {
208
  @rename(get_home_path() . '.user.ini', get_home_path() . '.user.ini_old');
203
  if (!empty($line))
204
  file_put_contents(get_home_path() . '.htaccess', $line, FILE_APPEND);
205
  }
206
+ else
207
+ {
208
+ save_mod_rewrite_rules();
209
+ }
210
  if(file_exists(get_home_path() . '.user.ini'))
211
  {
212
  @rename(get_home_path() . '.user.ini', get_home_path() . '.user.ini_old');
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: wpvivid
3
  Tags: move, clone, migrate, staging, backup, restore, auto backup, cloud backup
4
  Requires at least: 4.5
5
- Tested up to: 6.0.2
6
  Requires PHP: 5.3
7
- Stable tag: 0.9.78
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -201,6 +201,11 @@ Thank you so much for translating WPvivid Backup Plugin to your languages!
201
  * [Yordan Soares](https://profiles.wordpress.org/yordansoares/) (Spanish(all locales))
202
  * [Chun-Chih Cheng](https://www.facebook.com/groups/wordpresstwhant) (Chinese (Taiwan))
203
  == Changelog ==
 
 
 
 
 
204
  = 0.9.78 =
205
  - Added an option to create quick database snapshots.
206
  - Added a check for siteurl and home in a restore process.
2
  Contributors: wpvivid
3
  Tags: move, clone, migrate, staging, backup, restore, auto backup, cloud backup
4
  Requires at least: 4.5
5
+ Tested up to: 6.1
6
  Requires PHP: 5.3
7
+ Stable tag: 0.9.79
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
201
  * [Yordan Soares](https://profiles.wordpress.org/yordansoares/) (Spanish(all locales))
202
  * [Chun-Chih Cheng](https://www.facebook.com/groups/wordpresstwhant) (Chinese (Taiwan))
203
  == Changelog ==
204
+ = 0.9.79 =
205
+ - Fixed: All target pages except for home page showed 404 error in some cases after migration.
206
+ - Fixed some bugs in the plugin code.
207
+ - Optimized the plugin code.
208
+ - Successfully tested with WordPress 6.1.
209
  = 0.9.78 =
210
  - Added an option to create quick database snapshots.
211
  - Added a check for siteurl and home in a restore process.
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.78
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.78' );
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.79
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.79' );
25
  //
26
  define('WPVIVID_RESTORE_INIT','init');
27
  define('WPVIVID_RESTORE_READY','ready');