Version Description
Download this release
Release Info
Developer | cory@lamle.org |
Plugin | Duplicator – WordPress Migration Plugin |
Version | 0.5.16 |
Comparing to | |
See all releases |
Code changes from version 0.5.14 to 0.5.16
- define.php +1 -1
- duplicator.php +1 -1
- readme.txt +1 -1
- views/actions.php +3 -2
- views/packages/new2.base.php +1 -1
define.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
//Prevent directly browsing to the file
|
3 |
if (function_exists('plugin_dir_url')) {
|
4 |
-
define('DUPLICATOR_VERSION', '0.5.
|
5 |
define("DUPLICATOR_HOMEPAGE", "http://lifeinthegrid.com/labs/duplicator");
|
6 |
define("DUPLICATOR_GIVELINK", "http://lifeinthegrid.com/partner");
|
7 |
define("DUPLICATOR_HELPLINK", "http://lifeinthegrid.com/duplicator-docs");
|
1 |
<?php
|
2 |
//Prevent directly browsing to the file
|
3 |
if (function_exists('plugin_dir_url')) {
|
4 |
+
define('DUPLICATOR_VERSION', '0.5.16');
|
5 |
define("DUPLICATOR_HOMEPAGE", "http://lifeinthegrid.com/labs/duplicator");
|
6 |
define("DUPLICATOR_GIVELINK", "http://lifeinthegrid.com/partner");
|
7 |
define("DUPLICATOR_HELPLINK", "http://lifeinthegrid.com/duplicator-docs");
|
duplicator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Duplicator
|
4 |
Plugin URI: http://www.lifeinthegrid.com/duplicator/
|
5 |
Description: Create a backup of your WordPress files and database. Duplicate and move an entire site from one location to another in a few steps. Create a full snapshot of your site at any point in time.
|
6 |
-
Version: 0.5.
|
7 |
Author: LifeInTheGrid
|
8 |
Author URI: http://www.lifeinthegrid.com
|
9 |
License: GPLv2 or later
|
3 |
Plugin Name: Duplicator
|
4 |
Plugin URI: http://www.lifeinthegrid.com/duplicator/
|
5 |
Description: Create a backup of your WordPress files and database. Duplicate and move an entire site from one location to another in a few steps. Create a full snapshot of your site at any point in time.
|
6 |
+
Version: 0.5.16
|
7 |
Author: LifeInTheGrid
|
8 |
Author URI: http://www.lifeinthegrid.com
|
9 |
License: GPLv2 or later
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: www.lifeinthegrid.com/partner
|
|
4 |
Tags: backup, restore, move, migrate, localhost, synchronize, duplicate, clone, automate, niche
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 0.5.
|
8 |
License: GPLv2
|
9 |
|
10 |
Duplicate, clone, backup, move and transfer an entire site from one location to another.
|
4 |
Tags: backup, restore, move, migrate, localhost, synchronize, duplicate, clone, automate, niche
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 0.5.16
|
8 |
License: GPLv2
|
9 |
|
10 |
Duplicate, clone, backup, move and transfer an entire site from one location to another.
|
views/actions.php
CHANGED
@@ -99,11 +99,12 @@ function duplicator_package_delete() {
|
|
99 |
if ($postIDs != null) {
|
100 |
|
101 |
foreach ($list as $id) {
|
102 |
-
|
|
|
103 |
if ($getResult) {
|
104 |
$row = $getResult[0];
|
105 |
$nameHash = "{$row['name']}_{$row['hash']}";
|
106 |
-
$delResult = $wpdb->query("DELETE FROM `{$tblName}` WHERE id =
|
107 |
if ($delResult != 0) {
|
108 |
//Perms
|
109 |
@chmod(DUP_Util::SafePath(DUPLICATOR_SSDIR_PATH_TMP . "/{$nameHash}_archive.zip"), 0644);
|
99 |
if ($postIDs != null) {
|
100 |
|
101 |
foreach ($list as $id) {
|
102 |
+
|
103 |
+
$getResult = $wpdb->get_results($wpdb->prepare("SELECT name, hash FROM `{$tblName}` WHERE id = %d", $id), ARRAY_A);
|
104 |
if ($getResult) {
|
105 |
$row = $getResult[0];
|
106 |
$nameHash = "{$row['name']}_{$row['hash']}";
|
107 |
+
$delResult = $wpdb->query($wpdb->prepare( "DELETE FROM `{$tblName}` WHERE id = %d", $id ));
|
108 |
if ($delResult != 0) {
|
109 |
//Perms
|
110 |
@chmod(DUP_Util::SafePath(DUPLICATOR_SSDIR_PATH_TMP . "/{$nameHash}_archive.zip"), 0644);
|
views/packages/new2.base.php
CHANGED
@@ -98,7 +98,7 @@ TOOL BAR: STEPS -->
|
|
98 |
<div class="dup-panel-title">
|
99 |
<i class="fa fa-hdd-o"></i> <?php _e("Server", 'wpduplicator'); ?>
|
100 |
<div style="float:right; margin:-1px 10px 0px 0px">
|
101 |
-
<small><a href="?page=duplicator-
|
102 |
</div>
|
103 |
|
104 |
</div>
|
98 |
<div class="dup-panel-title">
|
99 |
<i class="fa fa-hdd-o"></i> <?php _e("Server", 'wpduplicator'); ?>
|
100 |
<div style="float:right; margin:-1px 10px 0px 0px">
|
101 |
+
<small><a href="?page=duplicator-tools&tab=diagnostics" target="_blank"><?php _e('Diagnostics', 'wpduplicator');?></a></small>
|
102 |
</div>
|
103 |
|
104 |
</div>
|