Version Description
Download this release
Release Info
Developer | cory@lamle.org |
Plugin | Duplicator – WordPress Migration Plugin |
Version | 1.4.6 |
Comparing to | |
See all releases |
Code changes from version 1.4.5 to 1.4.6
- assets/css/style.css +1 -1
- classes/package/class.pack.archive.php +5 -4
- define.php +2 -2
- duplicator.php +1 -1
- installer/dup-installer/views/view.s1.base.php +14 -7
- installer/dup-installer/views/view.s2.base.php +2 -2
- readme.txt +2 -2
- views/packages/main/packages.php +4 -4
- views/packages/main/s1.setup2.php +32 -15
- views/packages/main/s2.scan2.php +28 -1
- views/packages/main/s2.scan3.php +1 -27
- views/packages/main/s3.build.php +25 -17
assets/css/style.css
CHANGED
@@ -24,7 +24,7 @@ p.description {padding-top:3px}
|
|
24 |
.dup-guide-txt-color {color:#b0b0b0;}
|
25 |
|
26 |
/*TABS*/
|
27 |
-
ul.category-tabs li {cursor:pointer}
|
28 |
|
29 |
/*BOXES:Expandable sections */
|
30 |
div.dup-box {padding:0px; display:block; background-color:#fff; border:1px solid #e5e5e5; box-shadow:0 1px 1px rgba(0,0,0,.04);}
|
24 |
.dup-guide-txt-color {color:#b0b0b0;}
|
25 |
|
26 |
/*TABS*/
|
27 |
+
ul.category-tabs li {cursor:pointer;user-select: none;}
|
28 |
|
29 |
/*BOXES:Expandable sections */
|
30 |
div.dup-box {padding:0px; display:block; background-color:#fff; border:1px solid #e5e5e5; box-shadow:0 1px 1px rgba(0,0,0,.04);}
|
classes/package/class.pack.archive.php
CHANGED
@@ -64,13 +64,14 @@ class DUP_Archive
|
|
64 |
$homePath = duplicator_get_home_path();
|
65 |
|
66 |
$this->wpCorePaths[] = DUP_Util::safePath("{$homePath}/wp-admin");
|
67 |
-
$this->wpCorePaths[] = DUP_Util::safePath(WP_CONTENT_DIR."/uploads");
|
68 |
$this->wpCorePaths[] = DUP_Util::safePath(WP_CONTENT_DIR."/languages");
|
69 |
-
$this->wpCorePaths[] = DUP_Util::safePath(get_theme_root());
|
70 |
$this->wpCorePaths[] = DUP_Util::safePath("{$homePath}/wp-includes");
|
71 |
|
72 |
-
$this->wpCoreExactPaths[]
|
73 |
-
$this->wpCoreExactPaths[]
|
|
|
|
|
|
|
74 |
}
|
75 |
|
76 |
/**
|
64 |
$homePath = duplicator_get_home_path();
|
65 |
|
66 |
$this->wpCorePaths[] = DUP_Util::safePath("{$homePath}/wp-admin");
|
|
|
67 |
$this->wpCorePaths[] = DUP_Util::safePath(WP_CONTENT_DIR."/languages");
|
|
|
68 |
$this->wpCorePaths[] = DUP_Util::safePath("{$homePath}/wp-includes");
|
69 |
|
70 |
+
$this->wpCoreExactPaths[] = DUP_Util::safePath("{$homePath}");
|
71 |
+
$this->wpCoreExactPaths[] = DUP_Util::safePath(WP_CONTENT_DIR);
|
72 |
+
$this->wpCoreExactPaths[] = DUP_Util::safePath(WP_CONTENT_DIR."/uploads");
|
73 |
+
$this->wpCoreExactPaths[] = DUP_Util::safePath(WP_CONTENT_DIR."/plugins");
|
74 |
+
$this->wpCoreExactPaths[] = DUP_Util::safePath(get_theme_root());
|
75 |
}
|
76 |
|
77 |
/**
|
define.php
CHANGED
@@ -5,8 +5,8 @@ defined('ABSPATH') || defined('DUPXABSPATH') || exit;
|
|
5 |
|
6 |
if (function_exists('plugin_dir_url'))
|
7 |
{
|
8 |
-
define('DUPLICATOR_VERSION', '1.4.
|
9 |
-
define('DUPLICATOR_VERSION_BUILD', '2022-
|
10 |
define('DUPLICATOR_PLUGIN_URL', plugin_dir_url(__FILE__));
|
11 |
define('DUPLICATOR_SITE_URL', get_site_url());
|
12 |
|
5 |
|
6 |
if (function_exists('plugin_dir_url'))
|
7 |
{
|
8 |
+
define('DUPLICATOR_VERSION', '1.4.6');
|
9 |
+
define('DUPLICATOR_VERSION_BUILD', '2022-05-18_19:00');
|
10 |
define('DUPLICATOR_PLUGIN_URL', plugin_dir_url(__FILE__));
|
11 |
define('DUPLICATOR_SITE_URL', get_site_url());
|
12 |
|
duplicator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Duplicator
|
4 |
Plugin URI: https://snapcreek.com/duplicator/duplicator-free/
|
5 |
Description: Migrate and backup a copy of your WordPress files and database. Duplicate and move a site from one location to another quickly.
|
6 |
-
Version: 1.4.
|
7 |
Requires at least: 4.0
|
8 |
Tested up to: 5.9
|
9 |
Requires PHP: 5.3.8
|
3 |
Plugin Name: Duplicator
|
4 |
Plugin URI: https://snapcreek.com/duplicator/duplicator-free/
|
5 |
Description: Migrate and backup a copy of your WordPress files and database. Duplicate and move a site from one location to another quickly.
|
6 |
+
Version: 1.4.6
|
7 |
Requires at least: 4.0
|
8 |
Tested up to: 5.9
|
9 |
Requires PHP: 5.3.8
|
installer/dup-installer/views/view.s1.base.php
CHANGED
@@ -276,7 +276,7 @@ OPTIONS
|
|
276 |
<?php if (!$is_wpconfarc_present): ?>
|
277 |
<span class="sub-notes">
|
278 |
*Option enabled when archive has been pre-extracted
|
279 |
-
<a href="https://snapcreek.com/duplicator/docs/faqs-tech
|
280 |
</span>
|
281 |
<?php endif; ?>
|
282 |
</td>
|
@@ -542,9 +542,16 @@ VALIDATION
|
|
542 |
</p>
|
543 |
<ul>
|
544 |
<li>
|
545 |
-
<b>Managed system: </b>
|
546 |
-
|
547 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
548 |
</li>
|
549 |
<li>
|
550 |
<b>Configuration file: </b><?php echo $mh_manager->wpConfigIsNotWriteable()
|
@@ -647,7 +654,7 @@ VALIDATION
|
|
647 |
|
648 |
<small>Note: This test looks for a file named <i>dup-wp-config-arc__[HASH].txt</i> in the dup-installer directory. If the file exists then this notice is shown.
|
649 |
The <i>dup-wp-config-arc__[HASH].txt</i> file is created with every archive and removed once the install is complete. For more details on this process see the
|
650 |
-
<a href="https://snapcreek.com/duplicator/docs/faqs-tech
|
651 |
</div>
|
652 |
<?php endif; ?>
|
653 |
|
@@ -1391,7 +1398,7 @@ Auto Posts to view.step2.php
|
|
1391 |
break;
|
1392 |
case 'extract':
|
1393 |
status += "<b>Recommendation:</b><br/>";
|
1394 |
-
status += "See <a target='_blank' href='https://snapcreek.com/duplicator/docs/faqs-tech
|
1395 |
break;
|
1396 |
case 'ping':
|
1397 |
status += "<b>Recommendation:</b><br/>";
|
@@ -1412,7 +1419,7 @@ Auto Posts to view.step2.php
|
|
1412 |
} else if ((xhr.status == 0) || (xhr.status == 200)) {
|
1413 |
status += "<b>Recommendation:</b><br/>";
|
1414 |
status += "Possible server timeout! Performing a 'Manual Extraction' can avoid timeouts.";
|
1415 |
-
status += "See <a target='_blank' href='https://snapcreek.com/duplicator/docs/faqs-tech
|
1416 |
} else {
|
1417 |
status += "<b>Additional Resources:</b><br/> ";
|
1418 |
status += "» <a target='_blank' href='https://snapcreek.com/duplicator/docs/'>Help Resources</a><br/>";
|
276 |
<?php if (!$is_wpconfarc_present): ?>
|
277 |
<span class="sub-notes">
|
278 |
*Option enabled when archive has been pre-extracted
|
279 |
+
<a href="https://snapcreek.com/duplicator/docs/faqs-tech/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_campaign=problem_resolution&utm_content=pre_extracted#faq-installer-015-q" target="_blank">[more info]</a>
|
280 |
</span>
|
281 |
<?php endif; ?>
|
282 |
</td>
|
542 |
</p>
|
543 |
<ul>
|
544 |
<li>
|
545 |
+
<b>Managed system: </b>
|
546 |
+
<?php
|
547 |
+
if (is_string($managed_host)) {
|
548 |
+
$hostLabel = $mh_manager->getHosting($managed_host)->getLabel();
|
549 |
+
echo "<span class='maroon'>It appears the installer is being executed on \"{$hostLabel}\". Managed hosting is not "
|
550 |
+
. "presently supported in Duplicator Lite. Please upgrade to Duplicator Pro to use this hosting platform.</span>";
|
551 |
+
} else {
|
552 |
+
echo "<span class='green'>No restrictions have been found for this host.</span>";
|
553 |
+
}
|
554 |
+
?>
|
555 |
</li>
|
556 |
<li>
|
557 |
<b>Configuration file: </b><?php echo $mh_manager->wpConfigIsNotWriteable()
|
654 |
|
655 |
<small>Note: This test looks for a file named <i>dup-wp-config-arc__[HASH].txt</i> in the dup-installer directory. If the file exists then this notice is shown.
|
656 |
The <i>dup-wp-config-arc__[HASH].txt</i> file is created with every archive and removed once the install is complete. For more details on this process see the
|
657 |
+
<a href="https://snapcreek.com/duplicator/docs/faqs-tech/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_campaign=problem_resolution&utm_content=config_arc_exists#faq-installer-015-q" target="_blank">manual extraction FAQ</a>.</small>
|
658 |
</div>
|
659 |
<?php endif; ?>
|
660 |
|
1398 |
break;
|
1399 |
case 'extract':
|
1400 |
status += "<b>Recommendation:</b><br/>";
|
1401 |
+
status += "See <a target='_blank' href='https://snapcreek.com/duplicator/docs/faqs-tech/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_campaign=problem_resolution&utm_content=extract_recommendation#faq-installer-015-q'>this FAQ item</a> for possible resolutions.<br/><br/>";
|
1402 |
break;
|
1403 |
case 'ping':
|
1404 |
status += "<b>Recommendation:</b><br/>";
|
1419 |
} else if ((xhr.status == 0) || (xhr.status == 200)) {
|
1420 |
status += "<b>Recommendation:</b><br/>";
|
1421 |
status += "Possible server timeout! Performing a 'Manual Extraction' can avoid timeouts.";
|
1422 |
+
status += "See <a target='_blank' href='https://snapcreek.com/duplicator/docs/faqs-tech/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_campaign=problem_resolution&utm_content=server_timeout_man_extract#faq-installer-015-q'>this FAQ item</a> for a complete overview.<br/><br/>"
|
1423 |
} else {
|
1424 |
status += "<b>Additional Resources:</b><br/> ";
|
1425 |
status += "» <a target='_blank' href='https://snapcreek.com/duplicator/docs/'>Help Resources</a><br/>";
|
installer/dup-installer/views/view.s2.base.php
CHANGED
@@ -286,7 +286,7 @@ Auto Posts to view.step3.php -->
|
|
286 |
}
|
287 |
else if(xhr.status == 0) {
|
288 |
status += "<b>Recommendation</b><br/>";
|
289 |
-
status += "This may be a server timeout and performing a 'Manual Extract' install can avoid timeouts. See <a target='_blank' href='https://snapcreek.com/duplicator/docs/faqs-tech/?reload=1#faq-installer-015-q'>this section</a> of the FAQ for a description of how to do that.<br/><br/>"
|
290 |
} else {
|
291 |
status += "<b>Additional Troubleshooting Tips:</b><br/> ";
|
292 |
status += "» <a target='_blank' href='https://snapcreek.com/duplicator/docs/'>Help Resources</a><br/>";
|
@@ -343,7 +343,7 @@ Auto Posts to view.step3.php -->
|
|
343 |
}
|
344 |
else if(xhr.status == 0) {
|
345 |
status += "<b>Recommendation</b><br/>";
|
346 |
-
status += "This may be a server timeout and performing a 'Manual Extract' install can avoid timeouts. See <a target='_blank' href='https://snapcreek.com/duplicator/docs/faqs-tech/?reload=1#faq-installer-015-q'>this section</a> of the FAQ for a description of how to do that.<br/><br/>"
|
347 |
} else {
|
348 |
status += "<b>Additional Troubleshooting Tips:</b><br/> ";
|
349 |
status += "» <a target='_blank' href='https://snapcreek.com/duplicator/docs/'>Help Resources</a><br/>";
|
286 |
}
|
287 |
else if(xhr.status == 0) {
|
288 |
status += "<b>Recommendation</b><br/>";
|
289 |
+
status += "This may be a server timeout and performing a 'Manual Extract' install can avoid timeouts. See <a target='_blank' href='https://snapcreek.com/duplicator/docs/faqs-tech/?reload=1&utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_campaign=problem_resolution&utm_content=server_timeout_man_extract2#faq-installer-015-q'>this section</a> of the FAQ for a description of how to do that.<br/><br/>"
|
290 |
} else {
|
291 |
status += "<b>Additional Troubleshooting Tips:</b><br/> ";
|
292 |
status += "» <a target='_blank' href='https://snapcreek.com/duplicator/docs/'>Help Resources</a><br/>";
|
343 |
}
|
344 |
else if(xhr.status == 0) {
|
345 |
status += "<b>Recommendation</b><br/>";
|
346 |
+
status += "This may be a server timeout and performing a 'Manual Extract' install can avoid timeouts. See <a target='_blank' href='https://snapcreek.com/duplicator/docs/faqs-tech/?reload=1&utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_campaign=problem_resolution&utm_content=server_timeout_man_extract3#faq-installer-015-q'>this section</a> of the FAQ for a description of how to do that.<br/><br/>"
|
347 |
} else {
|
348 |
status += "<b>Additional Troubleshooting Tips:</b><br/> ";
|
349 |
status += "» <a target='_blank' href='https://snapcreek.com/duplicator/docs/'>Help Resources</a><br/>";
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: corylamleorg, bobriley
|
3 |
Tags: migration, backup, duplicate, move, migrate, restore, transfer, clone, automate, copy site, migrator
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to:
|
6 |
Requires PHP: 5.3.8
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv2
|
9 |
|
10 |
WordPress migration and backups are much easier with Duplicator! Clone, backup, move and transfer an entire site from one location to another.
|
2 |
Contributors: corylamleorg, bobriley
|
3 |
Tags: migration, backup, duplicate, move, migrate, restore, transfer, clone, automate, copy site, migrator
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 6.0
|
6 |
Requires PHP: 5.3.8
|
7 |
+
Stable tag: 1.4.6
|
8 |
License: GPLv2
|
9 |
|
10 |
WordPress migration and backups are much easier with Duplicator! Clone, backup, move and transfer an entire site from one location to another.
|
views/packages/main/packages.php
CHANGED
@@ -121,11 +121,11 @@ if (DUP_Settings::Get('installer_name_mode') == DUP_Settings::INSTALLER_NAME_MOD
|
|
121 |
<div id='dup-list-alert-nodata'>
|
122 |
<i class="fa fa-archive fa-sm"></i>
|
123 |
<?php esc_html_e("No Packages Found", 'duplicator'); ?><br/>
|
124 |
-
<i><?php esc_html_e("Click 'Create New'
|
125 |
<div class="dup-quick-start" <?php echo ($is_mu) ? 'style="display:none"' : ''; ?>>
|
126 |
<b><?php esc_html_e("New to Duplicator?", 'duplicator'); ?></b><br/>
|
127 |
<a href="https://snapcreek.com/duplicator/docs/quick-start/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=packages_empty1&utm_campaign=quick_start" target="_blank">
|
128 |
-
<?php esc_html_e("
|
129 |
</a>
|
130 |
</div>
|
131 |
<?php if ($is_mu) {
|
@@ -174,11 +174,11 @@ if (DUP_Settings::Get('installer_name_mode') == DUP_Settings::INSTALLER_NAME_MOD
|
|
174 |
<div id='dup-list-alert-nodata'>
|
175 |
<i class="fa fa-archive fa-sm"></i>
|
176 |
<?php esc_html_e("No Packages Found", 'duplicator'); ?><br/>
|
177 |
-
<i><?php esc_html_e("Click 'Create New'
|
178 |
<div class="dup-quick-start">
|
179 |
<?php esc_html_e("New to Duplicator?", 'duplicator'); ?><br/>
|
180 |
<a href="https://snapcreek.com/duplicator/docs/quick-start/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=packages_empty2&utm_campaign=quick_start" target="_blank">
|
181 |
-
<?php esc_html_e("
|
182 |
</a>
|
183 |
</div>
|
184 |
<div style="height:75px"> </div>
|
121 |
<div id='dup-list-alert-nodata'>
|
122 |
<i class="fa fa-archive fa-sm"></i>
|
123 |
<?php esc_html_e("No Packages Found", 'duplicator'); ?><br/>
|
124 |
+
<i><?php esc_html_e("Click 'Create New' to Archive Site", 'duplicator'); ?></i><br/>
|
125 |
<div class="dup-quick-start" <?php echo ($is_mu) ? 'style="display:none"' : ''; ?>>
|
126 |
<b><?php esc_html_e("New to Duplicator?", 'duplicator'); ?></b><br/>
|
127 |
<a href="https://snapcreek.com/duplicator/docs/quick-start/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=packages_empty1&utm_campaign=quick_start" target="_blank">
|
128 |
+
<?php esc_html_e("Visit the 'Quick Start' guide!", 'duplicator'); ?>
|
129 |
</a>
|
130 |
</div>
|
131 |
<?php if ($is_mu) {
|
174 |
<div id='dup-list-alert-nodata'>
|
175 |
<i class="fa fa-archive fa-sm"></i>
|
176 |
<?php esc_html_e("No Packages Found", 'duplicator'); ?><br/>
|
177 |
+
<i><?php esc_html_e("Click 'Create New' to Archive Site", 'duplicator'); ?></i><br/>
|
178 |
<div class="dup-quick-start">
|
179 |
<?php esc_html_e("New to Duplicator?", 'duplicator'); ?><br/>
|
180 |
<a href="https://snapcreek.com/duplicator/docs/quick-start/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=packages_empty2&utm_campaign=quick_start" target="_blank">
|
181 |
+
<?php esc_html_e("Visit the 'Quick Start' guide!", 'duplicator'); ?>
|
182 |
</a>
|
183 |
</div>
|
184 |
<div style="height:75px"> </div>
|
views/packages/main/s1.setup2.php
CHANGED
@@ -17,6 +17,13 @@ defined('ABSPATH') || defined('DUPXABSPATH') || exit;
|
|
17 |
form#dup-form-opts ul li.tabs {font-size:16px}
|
18 |
div.tab-hdr-title {font-size: 16px; font-weight: bold; padding: 1px; margin:2px 0 5px 0; border-bottom:1px solid #dcdcde }
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
/*TAB-1: ARCHIVE SECTION*/
|
21 |
form#dup-form-opts div.tabs-panel{max-height:800px; padding:15px 20px 20px 20px; min-height:280px}
|
22 |
form#dup-form-opts ul li.tabs{font-weight:bold}
|
@@ -25,7 +32,7 @@ defined('ABSPATH') || defined('DUPXABSPATH') || exit;
|
|
25 |
select#archive-format {min-width:100px; margin:1px 0 4px 0}
|
26 |
span#dup-archive-filter-file {color:#A62426; display:none}
|
27 |
span#dup-archive-filter-db {color:#A62426; display:none}
|
28 |
-
span#dup-archive-db-only {color:#A62426; display:none}
|
29 |
div#dup-file-filter-items {padding:5px 0 0;}
|
30 |
div#dup-db-filter-items {padding:0; margin-top:-15px}
|
31 |
div#dup-db-filter-items {font-stretch:ultra-condensed; font-family:Calibri; }
|
@@ -180,22 +187,27 @@ STORAGE -->
|
|
180 |
ARCHIVE -->
|
181 |
<div class="dup-box">
|
182 |
<div class="dup-box-title">
|
|
|
183 |
<i class="far fa-file-archive"></i>
|
184 |
<?php
|
185 |
_e('Archive', 'duplicator');
|
186 |
echo " <sup class='archive-ext'>{$archive_build_mode}</sup>";
|
187 |
-
?>
|
188 |
-
|
|
|
189 |
<span id="dup-archive-filter-file" title="<?php esc_attr_e('File filter enabled', 'duplicator') ?>">
|
190 |
-
<i class="far fa-copy fa-
|
|
|
191 |
</span>
|
192 |
<span id="dup-archive-filter-db" title="<?php esc_attr_e('Database filter enabled', 'duplicator') ?>">
|
193 |
-
<i class="fa fa-table fa-
|
|
|
194 |
</span>
|
195 |
-
|
196 |
-
<i class="fas fa-database fa-
|
|
|
197 |
</span>
|
198 |
-
</
|
199 |
<div class="dup-box-arrow"></div>
|
200 |
</div>
|
201 |
<div class="dup-box-panel" id="dup-pack-archive-panel" style="<?php echo esc_html($ui_css_archive); ?>">
|
@@ -434,11 +446,7 @@ ARCHIVE -->
|
|
434 |
<?php else :?>
|
435 |
<i><?php esc_html_e("This option is only available with mysqldump mode.", 'duplicator'); ?></i>
|
436 |
<?php endif; ?>
|
437 |
-
|
438 |
</div>
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
</div>
|
443 |
</div>
|
444 |
</div>
|
@@ -448,9 +456,18 @@ ARCHIVE -->
|
|
448 |
INSTALLER -->
|
449 |
<div class="dup-box">
|
450 |
<div class="dup-box-title">
|
451 |
-
|
452 |
-
|
453 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
454 |
<div class="dup-box-arrow"></div>
|
455 |
</div>
|
456 |
|
17 |
form#dup-form-opts ul li.tabs {font-size:16px}
|
18 |
div.tab-hdr-title {font-size: 16px; font-weight: bold; padding: 1px; margin:2px 0 5px 0; border-bottom:1px solid #dcdcde }
|
19 |
|
20 |
+
/*EXPANDER TITLE BOXES */
|
21 |
+
div.dup-box-title div.dup-title-txt {float:left}
|
22 |
+
div.dup-box-title
|
23 |
+
div.dup-title-icons { margin-top:-5px; font-weight:normal; font-size:13px; display:flex; flex-wrap:wrap; align-items:flex-start; flex-direction: row;}
|
24 |
+
div.dup-box-title div.dup-title-icons > span {border-left:1px solid silver; padding:2px 14px 5px 14px; user-select:none}
|
25 |
+
span#dup-installer-secure-lock, span#dup-installer-secure-unlock {border:none; padding:0 12px 5px 2px;}
|
26 |
+
|
27 |
/*TAB-1: ARCHIVE SECTION*/
|
28 |
form#dup-form-opts div.tabs-panel{max-height:800px; padding:15px 20px 20px 20px; min-height:280px}
|
29 |
form#dup-form-opts ul li.tabs{font-weight:bold}
|
32 |
select#archive-format {min-width:100px; margin:1px 0 4px 0}
|
33 |
span#dup-archive-filter-file {color:#A62426; display:none}
|
34 |
span#dup-archive-filter-db {color:#A62426; display:none}
|
35 |
+
span#dup-archive-db-only {color:#A62426; display:none; font-weight: normal}
|
36 |
div#dup-file-filter-items {padding:5px 0 0;}
|
37 |
div#dup-db-filter-items {padding:0; margin-top:-15px}
|
38 |
div#dup-db-filter-items {font-stretch:ultra-condensed; font-family:Calibri; }
|
187 |
ARCHIVE -->
|
188 |
<div class="dup-box">
|
189 |
<div class="dup-box-title">
|
190 |
+
<div class="dup-title-txt">
|
191 |
<i class="far fa-file-archive"></i>
|
192 |
<?php
|
193 |
_e('Archive', 'duplicator');
|
194 |
echo " <sup class='archive-ext'>{$archive_build_mode}</sup>";
|
195 |
+
?>
|
196 |
+
</div>
|
197 |
+
<div class="dup-title-icons" >
|
198 |
<span id="dup-archive-filter-file" title="<?php esc_attr_e('File filter enabled', 'duplicator') ?>">
|
199 |
+
<i class="far fa-copy fa-fw"></i>
|
200 |
+
<sup><i class="fa fa-filter fa-sm"></i></sup>
|
201 |
</span>
|
202 |
<span id="dup-archive-filter-db" title="<?php esc_attr_e('Database filter enabled', 'duplicator') ?>">
|
203 |
+
<i class="fa fa-table fa-fw"></i>
|
204 |
+
<sup><i class="fa fa-filter fa-sm"></i></sup>
|
205 |
</span>
|
206 |
+
<span id="dup-archive-db-only" title="<?php esc_attr_e('Archive Only the Database', 'duplicator') ?>">
|
207 |
+
<i class="fas fa-database fa-fw"></i> <?php esc_html_e('Database Only', 'duplicator') ?>
|
208 |
+
<sup> </sup>
|
209 |
</span>
|
210 |
+
</div>
|
211 |
<div class="dup-box-arrow"></div>
|
212 |
</div>
|
213 |
<div class="dup-box-panel" id="dup-pack-archive-panel" style="<?php echo esc_html($ui_css_archive); ?>">
|
446 |
<?php else :?>
|
447 |
<i><?php esc_html_e("This option is only available with mysqldump mode.", 'duplicator'); ?></i>
|
448 |
<?php endif; ?>
|
|
|
449 |
</div>
|
|
|
|
|
|
|
450 |
</div>
|
451 |
</div>
|
452 |
</div>
|
456 |
INSTALLER -->
|
457 |
<div class="dup-box">
|
458 |
<div class="dup-box-title">
|
459 |
+
<div class="dup-title-txt">
|
460 |
+
<i class="fa fa-bolt fa-sm"></i> <?php esc_html_e('Installer', 'duplicator') ?>
|
461 |
+
</div>
|
462 |
+
<div class="dup-title-icons">
|
463 |
+
<span id="dup-installer-secure-lock" title="<?php esc_attr_e('Installer password protection is on', 'duplicator') ?>">
|
464 |
+
<i class="fas fa-lock fa-sm"></i>
|
465 |
+
</span>
|
466 |
+
<span id="dup-installer-secure-unlock" title="<?php esc_attr_e('Installer password protection is off', 'duplicator') ?>">
|
467 |
+
<i class="fas fa-unlock-alt fa-sm"></i>
|
468 |
+
</span>
|
469 |
+
</div>
|
470 |
+
|
471 |
<div class="dup-box-arrow"></div>
|
472 |
</div>
|
473 |
|
views/packages/main/s2.scan2.php
CHANGED
@@ -118,7 +118,6 @@ SYSTEM AND WORDPRESS -->
|
|
118 |
WP SETTINGS -->
|
119 |
<div class="scan-item">
|
120 |
|
121 |
-
|
122 |
<div class="title" onclick="Duplicator.Pack.toggleScanItem(this);">
|
123 |
<div class="text"><i class="fa fa-caret-right"></i> <?php esc_html_e('WordPress', 'duplicator');?></div>
|
124 |
<div id="data-srv-wp-all"></div>
|
@@ -204,6 +203,34 @@ WP SETTINGS -->
|
|
204 |
</div>
|
205 |
</div>
|
206 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
<script>
|
208 |
(function($){
|
209 |
|
118 |
WP SETTINGS -->
|
119 |
<div class="scan-item">
|
120 |
|
|
|
121 |
<div class="title" onclick="Duplicator.Pack.toggleScanItem(this);">
|
122 |
<div class="text"><i class="fa fa-caret-right"></i> <?php esc_html_e('WordPress', 'duplicator');?></div>
|
123 |
<div id="data-srv-wp-all"></div>
|
203 |
</div>
|
204 |
</div>
|
205 |
|
206 |
+
<!-- ======================
|
207 |
+
MIGRATION STATUS -->
|
208 |
+
<div id="migratepackage-block" class="scan-item">
|
209 |
+
<div class='title' onclick="Duplicator.Pack.toggleScanItem(this);">
|
210 |
+
<div class="text"><i class="fa fa-caret-right"></i> <?php esc_html_e('Migration Status', 'duplicator');?></div>
|
211 |
+
<div id="data-arc-status-migratepackage"></div>
|
212 |
+
</div>
|
213 |
+
<div class="info">
|
214 |
+
<script id="hb-migrate-package-result" type="text/x-handlebars-template">
|
215 |
+
<div class="container">
|
216 |
+
<div class="data">
|
217 |
+
{{#if ARC.Status.CanbeMigratePackage}}
|
218 |
+
<?php esc_html_e("The package created here can be migrated to a new server.", 'duplicator'); ?>
|
219 |
+
{{else}}
|
220 |
+
<span style="color: red;">
|
221 |
+
<?php
|
222 |
+
esc_html_e("The package created here cannot be migrated to a new server.
|
223 |
+
The Package created here can be restored on the same server.", 'duplicator');
|
224 |
+
?>
|
225 |
+
</span>
|
226 |
+
{{/if}}
|
227 |
+
</div>
|
228 |
+
</div>
|
229 |
+
</script>
|
230 |
+
<div id="migrate-package-result"></div>
|
231 |
+
</div>
|
232 |
+
</div>
|
233 |
+
|
234 |
<script>
|
235 |
(function($){
|
236 |
|
views/packages/main/s2.scan3.php
CHANGED
@@ -358,33 +358,7 @@ UNREADABLE FILES -->
|
|
358 |
|
359 |
<?php } ?>
|
360 |
|
361 |
-
|
362 |
-
Restore only package -->
|
363 |
-
<div id="migratepackage-block" class="scan-item">
|
364 |
-
<div class='title' onclick="Duplicator.Pack.toggleScanItem(this);">
|
365 |
-
<div class="text"><i class="fa fa-caret-right"></i> <?php esc_html_e('Migration Status', 'duplicator');?></div>
|
366 |
-
<div id="data-arc-status-migratepackage"></div>
|
367 |
-
</div>
|
368 |
-
<div class="info">
|
369 |
-
<script id="hb-migrate-package-result" type="text/x-handlebars-template">
|
370 |
-
<div class="container">
|
371 |
-
<div class="data">
|
372 |
-
{{#if ARC.Status.CanbeMigratePackage}}
|
373 |
-
<?php esc_html_e("The package created here can be migrated to the new server.", 'duplicator'); ?>
|
374 |
-
{{else}}
|
375 |
-
<span style="color: red;">
|
376 |
-
<?php
|
377 |
-
esc_html_e("The package that created here can't be migrated to the new server.
|
378 |
-
The Package created here can be restored on the same server.", 'duplicator');
|
379 |
-
?>
|
380 |
-
</span>
|
381 |
-
{{/if}}
|
382 |
-
</div>
|
383 |
-
</div>
|
384 |
-
</script>
|
385 |
-
<div id="migrate-package-result"></div>
|
386 |
-
</div>
|
387 |
-
</div>
|
388 |
|
389 |
<!-- ============
|
390 |
DATABASE -->
|
358 |
|
359 |
<?php } ?>
|
360 |
|
361 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
|
363 |
<!-- ============
|
364 |
DATABASE -->
|
views/packages/main/s3.build.php
CHANGED
@@ -70,12 +70,13 @@ $rand_txt[0] = $atext0;
|
|
70 |
div.dup-howto-exe {font-size:14px; font-weight:bold; margin:25px 0 40px 0;line-height:20px; color:#000; padding-top:10px;}
|
71 |
div.dup-howto-exe-title {font-size:18px; margin:0 0 8px 0; color:#000}
|
72 |
div.dup-howto-exe-title a {text-decoration:none; outline:none; box-shadow:none}
|
73 |
-
div.dup-howto-exe small {font-weight:normal; display:block; margin-top:-2px; font-style:italic; font-size:
|
74 |
div.dup-howto-exe a {margin-top:8px; display:inline-block}
|
75 |
-
div.dup-howto-exe-info {display:none; border:1px dotted #b5b5b5; padding:
|
76 |
div.dup-howto-exe-info a i {display:inline-block; margin:0 2px 0 2px}
|
77 |
div.dup-howto-exe-area {display: flex; justify-content: center;}
|
78 |
div.dup-howto-exe-txt {text-align: left; font-size:16px}
|
|
|
79 |
span#dup-installer-name {display:inline-block; color:silver; font-style: italic;}
|
80 |
span#dup-installer-name a {text-decoration: none}
|
81 |
span#dup-installer-name-help-icon {display:none}
|
@@ -229,40 +230,47 @@ TOOL BAR:STEPS -->
|
|
229 |
<div class="dup-howto-exe-info">
|
230 |
<div class="dup-howto-exe-area">
|
231 |
<div class="dup-howto-exe-txt">
|
232 |
-
<b style="font-size:18px"><?php esc_html_e("
|
233 |
<br/>
|
234 |
|
235 |
<!-- CLASSIC -->
|
236 |
<i class="far fa-save fa-sm fa-fw"></i>
|
237 |
-
<a href="https://snapcreek.com/duplicator/docs/quick-start/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=
|
238 |
-
<?php esc_html_e('
|
239 |
-
|
240 |
-
|
|
|
|
|
|
|
241 |
|
242 |
<small>
|
243 |
<?php
|
244 |
-
|
245 |
?>
|
246 |
</small>
|
247 |
|
248 |
<!-- OVERWRITE -->
|
249 |
<i class="far fa-window-close fa-sm fa-fw"></i>
|
250 |
-
<a href="https://snapcreek.com/duplicator/docs/quick-start/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=
|
251 |
-
<?php esc_html_e('Overwrite
|
252 |
-
<sup><i class="fas fa-external-link-alt fa-xs"></i></sup>
|
253 |
</a>
|
|
|
|
|
|
|
254 |
<br/>
|
255 |
-
<small><?php
|
256 |
|
257 |
|
258 |
<!-- IMPORT -->
|
259 |
<i class="fas fa-arrow-alt-circle-down fa-sm fa-fw"></i>
|
260 |
-
<a href="https://snapcreek.com/duplicator/docs/quick-start/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=
|
261 |
-
<?php esc_html_e('Import
|
262 |
-
<sup><i class="fas fa-external-link-alt fa-xs"></i></sup>
|
263 |
</a>
|
264 |
-
<sup class="
|
265 |
-
|
|
|
|
|
|
|
266 |
|
267 |
</div>
|
268 |
</div>
|
70 |
div.dup-howto-exe {font-size:14px; font-weight:bold; margin:25px 0 40px 0;line-height:20px; color:#000; padding-top:10px;}
|
71 |
div.dup-howto-exe-title {font-size:18px; margin:0 0 8px 0; color:#000}
|
72 |
div.dup-howto-exe-title a {text-decoration:none; outline:none; box-shadow:none}
|
73 |
+
div.dup-howto-exe small {font-weight:normal; display:block; margin-top:-2px; font-style:italic; font-size:12px; color:#444 }
|
74 |
div.dup-howto-exe a {margin-top:8px; display:inline-block}
|
75 |
+
div.dup-howto-exe-info {display:none; border:1px dotted #b5b5b5; padding:20px; margin:auto; width:500px; background-color:#F0F0F1; border-radius:4px;}
|
76 |
div.dup-howto-exe-info a i {display:inline-block; margin:0 2px 0 2px}
|
77 |
div.dup-howto-exe-area {display: flex; justify-content: center;}
|
78 |
div.dup-howto-exe-txt {text-align: left; font-size:16px}
|
79 |
+
div.dup-howto-exe-txt sup.modes {font-weight: normal; color:#999; font-style: italic;}
|
80 |
span#dup-installer-name {display:inline-block; color:silver; font-style: italic;}
|
81 |
span#dup-installer-name a {text-decoration: none}
|
82 |
span#dup-installer-name-help-icon {display:none}
|
230 |
<div class="dup-howto-exe-info">
|
231 |
<div class="dup-howto-exe-area">
|
232 |
<div class="dup-howto-exe-txt">
|
233 |
+
<b style="font-size:18px"><?php esc_html_e("Install Options", 'duplicator');?></b>
|
234 |
<br/>
|
235 |
|
236 |
<!-- CLASSIC -->
|
237 |
<i class="far fa-save fa-sm fa-fw"></i>
|
238 |
+
<a href="https://snapcreek.com/duplicator/docs/quick-start/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=package_built_install_help1_bwording&utm_campaign=duplicator_free#quick-040-q" target="_blank">
|
239 |
+
<?php esc_html_e('Install to Empty Server Directory ', 'duplicator'); ?>
|
240 |
+
</a>
|
241 |
+
<sup class="modes">
|
242 |
+
<i class="fas fa-external-link-alt fa-xs"></i>
|
243 |
+
</sup>
|
244 |
+
<br/>
|
245 |
|
246 |
<small>
|
247 |
<?php
|
248 |
+
_e('<b>Classic Mode:</b> Install to an empty server directory like a new WordPress install does.', 'duplicator');
|
249 |
?>
|
250 |
</small>
|
251 |
|
252 |
<!-- OVERWRITE -->
|
253 |
<i class="far fa-window-close fa-sm fa-fw"></i>
|
254 |
+
<a href="https://snapcreek.com/duplicator/docs/quick-start/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=package_built_install_help2_bwording&utm_campaign=duplicator_free#quick-043-q" target="_blank">
|
255 |
+
<?php esc_html_e('Overwrite Existing Site', 'duplicator'); ?>
|
|
|
256 |
</a>
|
257 |
+
<sup class="modes">
|
258 |
+
<i class="fas fa-external-link-alt fa-xs"></i>
|
259 |
+
</sup>
|
260 |
<br/>
|
261 |
+
<small><?php _e("<b>Overwrite Mode:</b> Quickly overwrite an existing WordPress site in a few clicks.", 'duplicator');?></small>
|
262 |
|
263 |
|
264 |
<!-- IMPORT -->
|
265 |
<i class="fas fa-arrow-alt-circle-down fa-sm fa-fw"></i>
|
266 |
+
<a href="https://snapcreek.com/duplicator/docs/quick-start/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=package_built_install_help3_bwording&utm_campaign=duplicator_free#quick-045-q" target="_blank">
|
267 |
+
<?php esc_html_e('Import Into & Overwrite Existing Site', 'duplicator'); ?>
|
|
|
268 |
</a>
|
269 |
+
<sup class="modes">
|
270 |
+
<i class="fas fa-external-link-alt fa-xs"></i>
|
271 |
+
</sup>
|
272 |
+
<br/>
|
273 |
+
<small><?php _e("<b>Import Mode:</b> Easily drag-n-drop the archive file to its destination (requires Pro*)", 'duplicator');?></small>
|
274 |
|
275 |
</div>
|
276 |
</div>
|