Duplicator – WordPress Migration Plugin - Version 1.2.44

Version Description

Download this release

Release Info

Developer cory@lamle.org
Plugin Icon 128x128 Duplicator – WordPress Migration Plugin
Version 1.2.44
Comparing to
See all releases

Code changes from version 1.2.42 to 1.2.44

classes/ui/class.ui.notice.php CHANGED
@@ -1,97 +1,97 @@
1
- <?php
2
- /**
3
- * Used to display notices in the WordPress Admin area
4
- * This class takes advatage of the 'admin_notice' action.
5
- *
6
- * Standard: PSR-2
7
- * @link http://www.php-fig.org/psr/psr-2
8
- *
9
- * @package Duplicator
10
- * @subpackage classes/ui
11
- * @copyright (c) 2017, Snapcreek LLC
12
- * @since 1.1.0
13
- *
14
- */
15
-
16
- // Exit if accessed directly
17
- if (!defined('DUPLICATOR_VERSION')) {
18
- exit;
19
- }
20
-
21
- class DUP_UI_Notice
22
- {
23
- /**
24
- * Shows a display message in the wp-admin if any reserved files are found
25
- *
26
- * @return string Html formated text notice warnings
27
- */
28
- public static function showReservedFilesNotice()
29
- {
30
- //Show only on Duplicator pages and Dashboard when plugin is active
31
- $dup_active = is_plugin_active('duplicator/duplicator.php');
32
- $dup_perm = current_user_can('manage_options');
33
- if (!$dup_active || !$dup_perm)
34
- return;
35
-
36
- $screen = get_current_screen();
37
- if (!isset($screen))
38
- return;
39
-
40
- if (DUP_Server::hasInstallerFiles()) {
41
-
42
- $on_active_tab = isset($_GET['section'])? $_GET['section']: '';
43
- echo '<div class="updated notice-success" id="dup-global-error-reserved-files"><p>';
44
-
45
- //Safe Mode Notice
46
- $safe_html = '';
47
- if(get_option("duplicator_exe_safe_mode", 0) > 0 ){
48
- $safe_msg1 = __('Safe Mode:', 'duplicator');
49
- $safe_msg2 = __('During the install safe mode was enabled deactivating all plugins.<br/> Please be sure to ', 'duplicator');
50
- $safe_msg3 = __('reactivate the plugins', 'duplicator');
51
- $safe_html = "<div class='notice-safemode'><b>{$safe_msg1}</b><br/>{$safe_msg2} <a href='plugins.php'>{$safe_msg3}</a>!</div><br/>";
52
- }
53
-
54
- //On Tools > Cleanup Page
55
- if ($screen->id == 'duplicator_page_duplicator-tools' && ($on_active_tab == "info" || $on_active_tab == '') ) {
56
-
57
- $title = __('This site has been successfully migrated!', 'duplicator');
58
- $msg1 = __('Final step(s):', 'duplicator');
59
- $msg2 = __('This message will be removed after all installer files are removed. Installer files must be removed to maintain a secure site.<br/>'
60
- . 'Click the link above or button below to remove all installer files and complete the migration.', 'duplicator');
61
-
62
- echo "<b class='pass-msg'><i class='fa fa-check-circle'></i> {$title}</b> <br/> {$safe_html} <b>{$msg1}</b> <br/>";
63
- printf("1. <a href='https://wordpress.org/support/plugin/duplicator/reviews/?filter=5' target='wporg'>%s</a> <br/> ", __('Optionally, Review Duplicator at WordPress.org...', 'duplicator'));
64
- printf("2. <a href='javascript:void(0)' onclick='jQuery(\"#dup-remove-installer-files-btn\").click()'>%s</a><br/>", __('Remove Installation Files Now!', 'duplicator'));
65
- echo "<div class='pass-msg'>{$msg2}</div>";
66
-
67
- //All other Pages
68
- } else {
69
-
70
- $title = __('Migration Almost Complete!', 'duplicator');
71
- $msg = __('Reserved Duplicator installation files have been detected in the root directory. Please delete these installation files to '
72
- . 'avoid security issues. <br/> Go to:Duplicator > Tools > Information >Stored Data and click the "Remove Installation Files" button', 'duplicator');
73
-
74
- $nonce = wp_create_nonce('duplicator_cleanup_page');
75
- $url = self_admin_url('admin.php?page=duplicator-tools&tab=diagnostics&section=info&_wpnonce='.$nonce);
76
- echo "<b>{$title}</b><br/> {$safe_html} {$msg}";
77
- @printf("<br/><a href='{$url}'>%s</a>", __('Take me there now!', 'duplicator'));
78
-
79
- }
80
- echo "</p></div>";
81
- }
82
- }
83
-
84
- /**
85
- * Shows a message for redirecting a page
86
- *
87
- * @return string The location to redirect to
88
- */
89
- public static function redirect($location)
90
- {
91
- echo '<div class="dup-redirect"><i class="fa fa-circle-o-notch fa-spin fa-fw"></i>';
92
- __('Redirecting Please Wait...', 'duplicator');
93
- echo '</div>';
94
- echo "<script>window.location = '{$location}';</script>";
95
- die(__('Invalid token permissions to perform this request.', 'duplicator'));
96
- }
97
- }
1
+ <?php
2
+ /**
3
+ * Used to display notices in the WordPress Admin area
4
+ * This class takes advatage of the 'admin_notice' action.
5
+ *
6
+ * Standard: PSR-2
7
+ * @link http://www.php-fig.org/psr/psr-2
8
+ *
9
+ * @package Duplicator
10
+ * @subpackage classes/ui
11
+ * @copyright (c) 2017, Snapcreek LLC
12
+ * @since 1.1.0
13
+ *
14
+ */
15
+
16
+ // Exit if accessed directly
17
+ if (!defined('DUPLICATOR_VERSION')) {
18
+ exit;
19
+ }
20
+
21
+ class DUP_UI_Notice
22
+ {
23
+ /**
24
+ * Shows a display message in the wp-admin if any reserved files are found
25
+ *
26
+ * @return string Html formated text notice warnings
27
+ */
28
+ public static function showReservedFilesNotice()
29
+ {
30
+ //Show only on Duplicator pages and Dashboard when plugin is active
31
+ $dup_active = is_plugin_active('duplicator/duplicator.php');
32
+ $dup_perm = current_user_can('manage_options');
33
+ if (!$dup_active || !$dup_perm)
34
+ return;
35
+
36
+ $screen = get_current_screen();
37
+ if (!isset($screen))
38
+ return;
39
+
40
+ if (DUP_Server::hasInstallerFiles()) {
41
+
42
+ $on_active_tab = isset($_GET['section'])? $_GET['section']: '';
43
+ echo '<div class="updated notice-success" id="dup-global-error-reserved-files"><p>';
44
+
45
+ //Safe Mode Notice
46
+ $safe_html = '';
47
+ if(get_option("duplicator_exe_safe_mode", 0) > 0 ){
48
+ $safe_msg1 = __('Safe Mode:', 'duplicator');
49
+ $safe_msg2 = __('During the install safe mode was enabled deactivating all plugins.<br/> Please be sure to ', 'duplicator');
50
+ $safe_msg3 = __('reactivate the plugins', 'duplicator');
51
+ $safe_html = "<div class='notice-safemode'><b>{$safe_msg1}</b><br/>{$safe_msg2} <a href='plugins.php'>{$safe_msg3}</a>!</div><br/>";
52
+ }
53
+
54
+ //On Tools > Cleanup Page
55
+ if ($screen->id == 'duplicator_page_duplicator-tools' && ($on_active_tab == "info" || $on_active_tab == '') ) {
56
+
57
+ $title = __('This site has been successfully migrated!', 'duplicator');
58
+ $msg1 = __('Final step(s):', 'duplicator');
59
+ $msg2 = __('This message will be removed after all installer files are removed. Installer files must be removed to maintain a secure site.<br/>'
60
+ . 'Click the link above or button below to remove all installer files and complete the migration.', 'duplicator');
61
+
62
+ echo "<b class='pass-msg'><i class='fa fa-check-circle'></i> {$title}</b> <br/> {$safe_html} <b>{$msg1}</b> <br/>";
63
+ printf("1. <a href='javascript:void(0)' onclick='jQuery(\"#dup-remove-installer-files-btn\").click()'>%s</a><br/>", __('Remove Installation Files Now!', 'duplicator'));
64
+ printf("2. <a href='https://wordpress.org/support/plugin/duplicator/reviews/?filter=5' target='wporg'>%s</a> <br/> ", __('Optionally, Review Duplicator at WordPress.org...', 'duplicator'));
65
+ echo "<div class='pass-msg' style='color:maroon'>{$msg2}</div>";
66
+
67
+ //All other Pages
68
+ } else {
69
+
70
+ $title = __('Migration Almost Complete!', 'duplicator');
71
+ $msg = __('Reserved Duplicator installation files have been detected in the root directory. Please delete these installation files to '
72
+ . 'avoid security issues. <br/> Go to:Duplicator > Tools > Information >Stored Data and click the "Remove Installation Files" button', 'duplicator');
73
+
74
+ $nonce = wp_create_nonce('duplicator_cleanup_page');
75
+ $url = self_admin_url('admin.php?page=duplicator-tools&tab=diagnostics&section=info&_wpnonce='.$nonce);
76
+ echo "<b>{$title}</b><br/> {$safe_html} {$msg}";
77
+ @printf("<br/><a href='{$url}'>%s</a>", __('Take me there now!', 'duplicator'));
78
+
79
+ }
80
+ echo "</p></div>";
81
+ }
82
+ }
83
+
84
+ /**
85
+ * Shows a message for redirecting a page
86
+ *
87
+ * @return string The location to redirect to
88
+ */
89
+ public static function redirect($location)
90
+ {
91
+ echo '<div class="dup-redirect"><i class="fa fa-circle-o-notch fa-spin fa-fw"></i>';
92
+ __('Redirecting Please Wait...', 'duplicator');
93
+ echo '</div>';
94
+ echo "<script>window.location = '{$location}';</script>";
95
+ die(__('Invalid token permissions to perform this request.', 'duplicator'));
96
+ }
97
+ }
define.php CHANGED
@@ -2,7 +2,7 @@
2
  //Prevent directly browsing to the file
3
  if (function_exists('plugin_dir_url'))
4
  {
5
- define('DUPLICATOR_VERSION', '1.2.42');
6
  define('DUPLICATOR_HOMEPAGE', 'https://snapcreek.com/duplicator/duplicator-free/');
7
  define('DUPLICATOR_PLUGIN_URL', plugin_dir_url(__FILE__));
8
  define('DUPLICATOR_SITE_URL', get_site_url());
2
  //Prevent directly browsing to the file
3
  if (function_exists('plugin_dir_url'))
4
  {
5
+ define('DUPLICATOR_VERSION', '1.2.44');
6
  define('DUPLICATOR_HOMEPAGE', 'https://snapcreek.com/duplicator/duplicator-free/');
7
  define('DUPLICATOR_PLUGIN_URL', plugin_dir_url(__FILE__));
8
  define('DUPLICATOR_SITE_URL', get_site_url());
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.2.42
7
  Author: Snap Creek
8
  Author URI: http://www.snapcreek.com/duplicator/
9
  Text Domain: duplicator
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.2.44
7
  Author: Snap Creek
8
  Author URI: http://www.snapcreek.com/duplicator/
9
  Text Domain: duplicator
installer/build/assets/inc.css.php CHANGED
@@ -197,11 +197,10 @@
197
  table.s4-final-step {width:100%;}
198
  table.s4-final-step td {padding:5px 15px 5px 5px}
199
  table.s4-final-step td:first-child {white-space:nowrap;}
200
- div.s4-go-back {border-top:1px dotted #dfdfdf; margin:auto; font-style:italic; font-size:10px; color:#333}
201
- a.s4-final-btns {display: block; width:145px; padding:5px; line-height: 1.4; background-color:#F1F1F1; border:1px solid silver;
202
- color: #000; box-shadow: 5px 5px 5px -5px #949494; text-decoration: none; text-align: center; border-radius: 4px;
203
- }
204
- a.s4-final-btns:hover {background-color: #dfdfdf;}
205
  div.s4-gopro-btn {text-align:center; font-size:14px; margin:auto; width:200px; font-style: italic; font-weight:bold}
206
  div.s4-gopro-btn a{color:green}
207
 
197
  table.s4-final-step {width:100%;}
198
  table.s4-final-step td {padding:5px 15px 5px 5px}
199
  table.s4-final-step td:first-child {white-space:nowrap;}
200
+ div.s4-go-back {border-top:1px dotted #dfdfdf; margin:auto; font-style:italic; font-size:11px; color:#333; padding-top:4px}
201
+ div.s4-go-back ul {line-height:18px}
202
+ button.s4-final-btns {cursor:pointer; color:#fff; font-size:16px; border-radius:5px; padding:7px; background-color:#13659C; border:1px solid gray; width:165px;}
203
+ button.s4-final-btns:hover {background-color: #dfdfdf;}
 
204
  div.s4-gopro-btn {text-align:center; font-size:14px; margin:auto; width:200px; font-style: italic; font-weight:bold}
205
  div.s4-gopro-btn a{color:green}
206
 
installer/build/main.installer.php CHANGED
@@ -253,15 +253,12 @@ HEADER TEMPLATE: Common header on all steps -->
253
  </div>
254
  </td>
255
  <td class="dupx-header-version">
256
- version: <?php echo $GLOBALS['FW_DUPLICATOR_VERSION'] ?><br/>
257
- &raquo; <a href="javascript:void(0)" onclick="DUPX.showServerInfo()">info</a>
258
- &raquo; <a href="?help=1" target="_blank">help</a>
259
  <?php
260
  echo ' &raquo; <a href="?help=1#secure" target="_blank">';
261
  echo ($GLOBALS['FW_SECUREON']) ? 'locked</a>' : '<i class="secure-unlocked">unlocked</i></a>';
262
-
263
  ?>
264
-
265
  </td>
266
  </tr>
267
  </table>
253
  </div>
254
  </td>
255
  <td class="dupx-header-version">
256
+ <a href="javascript:void(0)" onclick="DUPX.showServerInfo()">version: <?php echo $GLOBALS['FW_DUPLICATOR_VERSION'] ?></a><br/>
257
+ <a href="?help=1" target="_blank">help</a>
 
258
  <?php
259
  echo ' &raquo; <a href="?help=1#secure" target="_blank">';
260
  echo ($GLOBALS['FW_SECUREON']) ? 'locked</a>' : '<i class="secure-unlocked">unlocked</i></a>';
 
261
  ?>
 
262
  </td>
263
  </tr>
264
  </table>
installer/build/view.help.php CHANGED
@@ -49,6 +49,9 @@ HELP FORM -->
49
  </td>
50
  </tr>
51
  </table>
 
 
 
52
  </div>
53
 
54
  <!-- ============================================
@@ -535,14 +538,15 @@ STEP 4
535
 
536
  <b>Final Security Cleanup</b><br/>
537
  When completed with the installation please delete all installation files. Leaving these files on your server can impose a security risk! You can remove
538
- all the security files by logging into your WordPress admin and following the remove notification links. Be sure these files/directories are removed. Optionally
539
- it is also recommended to remove the archive.zip/daf file.
540
  <ul>
541
- <li>dup-installer</li>
542
  <li>installer.php</li>
 
543
  <li>installer-backup.php</li>
544
- <li>installer-bootlog.txt</li>
545
- <li>archive.zip/daf</li>
 
546
  </ul>
547
  <br/><br/>
548
 
49
  </td>
50
  </tr>
51
  </table>
52
+ <br/>
53
+ Note: Even though the installer has a password protection feature, it should only be used for the short term while the installer is being used. All installer files should and
54
+ must be removed after the install is completed. Files should not to be left on the server for any long duration of time to prevent any security related issues.
55
  </div>
56
 
57
  <!-- ============================================
538
 
539
  <b>Final Security Cleanup</b><br/>
540
  When completed with the installation please delete all installation files. Leaving these files on your server can impose a security risk! You can remove
541
+ all the security files by logging into your WordPress admin and following the remove notification links. Be sure all these files are removed. Optionally
542
+ it is also recommended to remove the archive.zip file.
543
  <ul>
 
544
  <li>installer.php</li>
545
+ <li>installer-data.sql</li>
546
  <li>installer-backup.php</li>
547
+ <li>installer-log.txt</li>
548
+ <li>database.sql</li>
549
+ <li>[a-hash-code]_archive.zip <small>(optional)</small></li>
550
  </ul>
551
  <br/><br/>
552
 
installer/build/view.step1.php CHANGED
@@ -555,7 +555,7 @@ NOTICES
555
  Manual extraction is only needed when your server does not support the ZipArchive extension. Please see the online help for more details.
556
  <br/><br/>
557
 
558
- <b>After Install:</b> When you are done with the installation you must remove the these files/directories:
559
  <ul>
560
  <li>installer.php</li>
561
  <li>installer-data.sql</li>
555
  Manual extraction is only needed when your server does not support the ZipArchive extension. Please see the online help for more details.
556
  <br/><br/>
557
 
558
+ <b>After Install:</b> When you are done with the installation you must remove these files/directories:
559
  <ul>
560
  <li>installer.php</li>
561
  <li>installer-data.sql</li>
installer/build/view.step4.php CHANGED
@@ -1,5 +1,4 @@
1
  <?php
2
-
3
  $_POST['url_new'] = isset($_POST['url_new']) ? DUPX_U::sanitize($_POST['url_new']) : '';
4
  $_POST['archive_name'] = isset($_POST['archive_name']) ? $_POST['archive_name'] : '';
5
  $_POST['retain_config'] = isset($_POST['retain_config']) && $_POST['retain_config'] == '1' ? true : false;
@@ -13,14 +12,13 @@
13
  $admin_url_qry = (strpos($admin_base, '?') === false) ? '?' : '&';
14
  $admin_login = rtrim($_POST['url_new'], '/') . "/{$admin_base}{$admin_url_qry}redirect_to={$admin_redirect}";
15
  $url_new_rtrim = rtrim($_POST['url_new'], '/');
16
-
17
  ?>
18
 
19
  <script>
20
- /** Posts to page to remove install files */
21
- DUPX.getAdminLogin = function() {
22
- window.open('<?php echo $admin_login; ?>', 'wp-admin');
23
- };
24
  </script>
25
 
26
 
@@ -36,9 +34,11 @@ VIEW: STEP 4 - INPUT -->
36
 
37
  <table class="s4-final-step">
38
  <tr style="vertical-align:top">
39
- <td><a class="s4-final-btns" href="javascript:void(0)" onclick="DUPX.getAdminLogin()">Site Login</a></td>
 
 
40
  <td>
41
- <i>Login to finalize the setup</i>
42
  <?php if ($_POST['retain_config']) :?>
43
  <br/> <i>Update of Permalinks required see: Admin &gt; Settings &gt; Permalinks &gt; Save</i>
44
  <?php endif;?>
@@ -52,37 +52,31 @@ VIEW: STEP 4 - INPUT -->
52
  </div>
53
  </td>
54
  </tr>
55
- <tr>
56
- <td><a class="s4-final-btns" href="javascript:void(0)" onclick="$('#dup-step3-install-report').toggle(400)">Show Report</a></td>
57
- <td>
58
- <i>Optionally review the migration report</i><br/>
59
- <i id="dup-step3-install-report-count">
60
- <span data-bind="with: status.step2">Install Notices: (<span data-bind="text: query_errs"></span>)</span> &nbsp;
61
- <span data-bind="with: status.step3">Update Notices: (<span data-bind="text: err_all"></span>)</span> &nbsp; &nbsp;
62
- <span data-bind="with: status.step3" style="color:#888"><b>General Notices:</b> (<span data-bind="text: warn_all"></span>)</span>
63
- </i>
64
- </td>
65
- </tr>
66
  </table>
67
- <br/><br/>
 
 
 
 
68
 
69
  <div class="s4-go-back">
70
- Final Steps:
71
  <ul style="margin-top: 1px">
72
  <li>
73
- Review the <a href="<?php echo $url_new_rtrim; ?>" target="_blank">front-end</a> or
74
- re-run installer at <a href="<?php echo "{$url_new_rtrim}/installer.php"; ?>">step 1</a>
 
 
 
 
 
75
  </li>
76
- <li>Finalize installation by logging into the WordPress Admin Login and removing installation files</li>
77
- </ul>
78
-
79
- Additional Notes:
80
- <ul style="margin-top: 1px">
81
- <li>The .htaccess file was reset. Resave plugins that write to this file.</li>
82
  <li>
83
- Visit the <a href="installer.php?help=1#troubleshoot" target="_blank">troubleshoot</a> section or
84
- <a href='https://snapcreek.com/duplicator/docs/faqs-tech/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_campaign=problem_resolution&utm_content=inst4_step4_troubleshoot' target='_blank'>online FAQs</a> for additional help.
85
  </li>
 
 
86
  </ul>
87
  </div>
88
 
1
  <?php
 
2
  $_POST['url_new'] = isset($_POST['url_new']) ? DUPX_U::sanitize($_POST['url_new']) : '';
3
  $_POST['archive_name'] = isset($_POST['archive_name']) ? $_POST['archive_name'] : '';
4
  $_POST['retain_config'] = isset($_POST['retain_config']) && $_POST['retain_config'] == '1' ? true : false;
12
  $admin_url_qry = (strpos($admin_base, '?') === false) ? '?' : '&';
13
  $admin_login = rtrim($_POST['url_new'], '/') . "/{$admin_base}{$admin_url_qry}redirect_to={$admin_redirect}";
14
  $url_new_rtrim = rtrim($_POST['url_new'], '/');
 
15
  ?>
16
 
17
  <script>
18
+ /** Posts to page to remove install files */
19
+ DUPX.getAdminLogin = function() {
20
+ window.open('<?php echo $admin_login; ?>', 'wp-admin');
21
+ };
22
  </script>
23
 
24
 
34
 
35
  <table class="s4-final-step">
36
  <tr style="vertical-align:top">
37
+ <td style="padding-top:10px">
38
+ <button type="button" class="s4-final-btns" onclick="DUPX.getAdminLogin()">Admin Login</button>
39
+ </td>
40
  <td>
41
+ Click the 'Admin Login' button to login and finalize this install.<br/>
42
  <?php if ($_POST['retain_config']) :?>
43
  <br/> <i>Update of Permalinks required see: Admin &gt; Settings &gt; Permalinks &gt; Save</i>
44
  <?php endif;?>
52
  </div>
53
  </td>
54
  </tr>
 
 
 
 
 
 
 
 
 
 
 
55
  </table>
56
+ <i style="color:maroon; font-size:12px">
57
+ IMPORTANT FINAL STEPS: Login into the WordPress Admin to remove all <a href="?help=1#help-s4" target="_blank">installation files</a>
58
+ and keep this site secure. This install is not complete until the installer files are removed!
59
+ </i>
60
+ <br/><br/><br/>
61
 
62
  <div class="s4-go-back">
63
+ Additional Notes:
64
  <ul style="margin-top: 1px">
65
  <li>
66
+ <a href="javascript:void(0)" onclick="$('#dup-step3-install-report').toggle(400)">Review Migration Report</a><br/>
67
+ &nbsp; &nbsp;
68
+ <i id="dup-step3-install-report-count">
69
+ <span data-bind="with: status.step2">Install Notices: (<span data-bind="text: query_errs"></span>)</span> &nbsp;
70
+ <span data-bind="with: status.step3">Update Notices: (<span data-bind="text: err_all"></span>)</span> &nbsp; &nbsp;
71
+ <span data-bind="with: status.step3" style="color:#888"><b>General Notices:</b> (<span data-bind="text: warn_all"></span>)</span>
72
+ </i>
73
  </li>
 
 
 
 
 
 
74
  <li>
75
+ Review this sites <a href="<?php echo $url_new_rtrim; ?>" target="_blank">front-end</a> or
76
+ re-run the installer and <a href="<?php echo "{$url_new_rtrim}/installer.php"; ?>">go back to step 1</a>.
77
  </li>
78
+ <li>If the .htaccess file was reset some plugin settings might need to be re-saved.</li>
79
+ <li>For additional help and questions visit the <a href='https://snapcreek.com/duplicator/docs/faqs-tech/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_campaign=problem_resolution&utm_content=inst4_step4_troubleshoot' target='_blank'>online FAQs</a>.</li>
80
  </ul>
81
  </div>
82
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: migration, backup, restore, move, migrate, duplicate, transfer, clone, aut
4
  Requires at least: 4.0
5
  Tested up to: 4.9
6
  Requires PHP: 5.2.17
7
- Stable tag: 1.2.42
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.
4
  Requires at least: 4.0
5
  Tested up to: 4.9
6
  Requires PHP: 5.2.17
7
+ Stable tag: 1.2.44
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.
uninstall.php CHANGED
@@ -15,7 +15,7 @@ global $wpdb;
15
  $DUP_Settings = new DUP_Settings();
16
 
17
  $table_name = $wpdb->prefix . "duplicator_packages";
18
- $wpdb->query("DROP TABLE `{$table_name}`");
19
 
20
  delete_option('duplicator_version_plugin');
21
 
15
  $DUP_Settings = new DUP_Settings();
16
 
17
  $table_name = $wpdb->prefix . "duplicator_packages";
18
+ $wpdb->query("DROP TABLE IF EXISTS `{$table_name}`");
19
 
20
  delete_option('duplicator_version_plugin');
21
 
views/packages/main/s1.setup2.php CHANGED
@@ -399,7 +399,7 @@ INSTALLER -->
399
  data-tooltip-title="<?php _e("Password Protection:", 'duplicator'); ?>"
400
  data-tooltip="<?php _e('Enabling this option will allow for basic password protection on the installer. Before running the installer the '
401
  . 'password below must be entered before proceeding with an install. This password is a general deterrent and should not be substituted for properly '
402
- . 'keeping your files secure.', 'duplicator'); ?>"></i>
403
 
404
  <div id="dup-pass-toggle">
405
  <input type="password" name="secure-pass" id="secure-pass" required="required" value="<?php echo $dup_install_secure_pass; ?>" />
399
  data-tooltip-title="<?php _e("Password Protection:", 'duplicator'); ?>"
400
  data-tooltip="<?php _e('Enabling this option will allow for basic password protection on the installer. Before running the installer the '
401
  . 'password below must be entered before proceeding with an install. This password is a general deterrent and should not be substituted for properly '
402
+ . 'keeping your files secure. Be sure to remove all installer files when the install process is completed.', 'duplicator'); ?>"></i>
403
 
404
  <div id="dup-pass-toggle">
405
  <input type="password" name="secure-pass" id="secure-pass" required="required" value="<?php echo $dup_install_secure_pass; ?>" />