Duplicator – WordPress Migration Plugin - Version 1.2.38

Version Description

Download this release

Release Info

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

Code changes from version 1.2.36 to 1.2.38

assets/img/create.png DELETED
Binary file
assets/img/logo-menu.png DELETED
Binary file
assets/img/logo.png DELETED
Binary file
assets/img/onedrive-48px.png ADDED
Binary file
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.36');
6
  define('DUPLICATOR_HOMEPAGE', 'http://lifeinthegrid.com/labs/duplicator');
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.38');
6
  define('DUPLICATOR_HOMEPAGE', 'http://lifeinthegrid.com/labs/duplicator');
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: http://www.lifeinthegrid.com/duplicator/
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.36
7
  Author: Snap Creek
8
  Author URI: http://www.snapcreek.com/duplicator/
9
  Text Domain: duplicator
3
  Plugin Name: Duplicator
4
  Plugin URI: http://www.lifeinthegrid.com/duplicator/
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.38
7
  Author: Snap Creek
8
  Author URI: http://www.snapcreek.com/duplicator/
9
  Text Domain: duplicator
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: migration, backup, restore, move, migrate, duplicate, transfer, clone, aut
5
  Requires at least: 4.0
6
  Tested up to: 4.9
7
  Requires PHP: 5.2.17
8
- Stable tag: 1.2.36
9
  License: GPLv2
10
 
11
  WordPress migration and backups are much easier with Duplicator! Clone, backup, move and transfer an entire site from one location to another.
5
  Requires at least: 4.0
6
  Tested up to: 4.9
7
  Requires PHP: 5.2.17
8
+ Stable tag: 1.2.38
9
  License: GPLv2
10
 
11
  WordPress migration and backups are much easier with Duplicator! Clone, backup, move and transfer an entire site from one location to another.
views/help/gopro.php CHANGED
@@ -107,7 +107,15 @@ require_once(DUPLICATOR_PLUGIN_PATH . '/views/inc.header.php');
107
  <tr>
108
  <td class="feature-column">
109
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/ftp-64.png" style='height:16px; width:16px' />
110
- <?php _e('Remote FTP/SFTP Storage', 'duplicator') ?>
 
 
 
 
 
 
 
 
111
  </td>
112
  <td class="check-column"></td>
113
  <td class="check-column"><i class="fa fa-check"></i></td>
107
  <tr>
108
  <td class="feature-column">
109
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/ftp-64.png" style='height:16px; width:16px' />
110
+ <?php _e('FTP/SFTP Storage', 'duplicator') ?>
111
+ </td>
112
+ <td class="check-column"></td>
113
+ <td class="check-column"><i class="fa fa-check"></i></td>
114
+ </tr>
115
+ <tr>
116
+ <td class="feature-column">
117
+ <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/onedrive-48px.png" style='height:16px; width:16px' />
118
+ <?php _e('OneDrive Storage', 'duplicator') ?>
119
  </td>
120
  <td class="check-column"></td>
121
  <td class="check-column"><i class="fa fa-check"></i></td>
views/packages/details/detail.php CHANGED
@@ -185,14 +185,15 @@ STORAGE -->
185
  <div class="dup-store-pro">
186
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/amazon-64.png" />
187
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/dropbox-64.png" />
188
- <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/google_drive_64px.png" />
189
- <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/ftp-64.png" />
190
- <?php echo sprintf(__('%1$s, %2$s, %3$s, %4$s and more storage options available in', 'duplicator'), 'Amazon', 'Dropbox', 'Google Drive', 'FTP'); ?>
 
191
  <a href="https://snapcreek.com/duplicator/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=free_storage_detail&utm_campaign=duplicator_pro" target="_blank"><?php _e('Duplicator Pro', 'duplicator');?></a>
192
  <i class="fa fa-lightbulb-o"
193
  data-tooltip-title="<?php _e('Additional Storage:', 'duplicator'); ?>"
194
  data-tooltip="<?php _e('Duplicator Pro allows you to create a package and then store it at a custom location on this server or to a cloud '
195
- . 'based location such as Google Drive, Amazon, Dropbox or FTP.', 'duplicator'); ?>">
196
  </i>
197
  </div>
198
  </td>
185
  <div class="dup-store-pro">
186
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/amazon-64.png" />
187
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/dropbox-64.png" />
188
+ <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/google_drive_64px.png" />
189
+ <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/ftp-64.png" />
190
+ <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/onedrive-48px.png" />
191
+ <?php echo sprintf(__('%1$s, %2$s, %3$s, %4$s, %5$s and more storage options available in', 'duplicator'), 'Amazon', 'Dropbox', 'Google Drive', 'FTP', 'OneDrive'); ?>
192
  <a href="https://snapcreek.com/duplicator/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=free_storage_detail&utm_campaign=duplicator_pro" target="_blank"><?php _e('Duplicator Pro', 'duplicator');?></a>
193
  <i class="fa fa-lightbulb-o"
194
  data-tooltip-title="<?php _e('Additional Storage:', 'duplicator'); ?>"
195
  data-tooltip="<?php _e('Duplicator Pro allows you to create a package and then store it at a custom location on this server or to a cloud '
196
+ . 'based location such as Google Drive, Amazon, Dropbox, OneDrive or FTP.', 'duplicator'); ?>">
197
  </i>
198
  </div>
199
  </td>
views/packages/details/transfer.php CHANGED
@@ -1,35 +1,36 @@
1
- <style>
2
- div.panel {padding: 20px 5px 10px 10px;}
3
- div.area {font-size:16px; text-align: center; line-height: 30px; width:500px; margin:auto}
4
- ul.li {padding:2px}
5
- </style>
6
-
7
- <div class="panel">
8
-
9
- <br/>
10
- <div class="area">
11
- <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/logo-dpro-300x50.png" />
12
- <h2>
13
- <?php _e('Transfer your packages to multiple<br/> locations with Duplicator Pro', 'duplicator') ?>
14
- </h2>
15
-
16
- <div style='text-align: left; margin:auto; width:200px'>
17
- <ul>
18
- <li><i class="fa fa-amazon"></i> <?php _e('Amazon S3', 'duplicator'); ?></li>
19
- <li><i class="fa fa-dropbox"></i> <?php _e(' Dropbox', 'duplicator'); ?></li>
20
- <li><i class="fa fa-google"></i> <?php _e('Google Drive', 'duplicator'); ?></li>
21
- <li><i class="fa fa-upload"></i> <?php _e('FTP', 'duplicator'); ?></li>
22
- <li><i class="fa fa-folder-open-o"></i> <?php _e('Custom Directory', 'duplicator'); ?></li>
23
- </ul>
24
- </div>
25
- <?php
26
- _e('Set up a one-time storage location and automatically <br/> push the package to your destination.', 'duplicator');
27
- ?>
28
- </div><br/>
29
-
30
- <p style="text-align:center">
31
- <a href="https://snapcreek.com/duplicator/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=manual_transfer&utm_campaign=duplicator_pro" target="_blank" class="button button-primary button-large dup-check-it-btn" >
32
- <?php _e('Learn More', 'duplicator') ?>
33
- </a>
34
- </p>
35
- </div>
 
1
+ <style>
2
+ div.panel {padding: 20px 5px 10px 10px;}
3
+ div.area {font-size:16px; text-align: center; line-height: 30px; width:500px; margin:auto}
4
+ ul.li {padding:2px}
5
+ </style>
6
+
7
+ <div class="panel">
8
+
9
+ <br/>
10
+ <div class="area">
11
+ <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/logo-dpro-300x50.png" />
12
+ <h2>
13
+ <?php _e('Transfer your packages to multiple<br/> locations with Duplicator Pro', 'duplicator') ?>
14
+ </h2>
15
+
16
+ <div style='text-align: left; margin:auto; width:200px'>
17
+ <ul>
18
+ <li><i class="fa fa-amazon"></i> <?php _e('Amazon S3', 'duplicator'); ?></li>
19
+ <li><i class="fa fa-dropbox"></i> <?php _e('Dropbox', 'duplicator'); ?></li>
20
+ <li><i class="fa fa-google"></i> <?php _e('Google Drive', 'duplicator'); ?></li>
21
+ <li><i class="fa fa-upload"></i> <?php _e('FTP', 'duplicator'); ?></li>
22
+ <li><i class="fa fa-cloud"></i> <?php _e('OneDrive', 'duplicator'); ?></li>
23
+ <li><i class="fa fa-folder-open-o"></i> <?php _e('Custom Directory', 'duplicator'); ?></li>
24
+ </ul>
25
+ </div>
26
+ <?php
27
+ _e('Set up a one-time storage location and automatically <br/> push the package to your destination.', 'duplicator');
28
+ ?>
29
+ </div><br/>
30
+
31
+ <p style="text-align:center">
32
+ <a href="https://snapcreek.com/duplicator/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=manual_transfer&utm_campaign=duplicator_pro" target="_blank" class="button button-primary button-large dup-check-it-btn" >
33
+ <?php _e('Learn More', 'duplicator') ?>
34
+ </a>
35
+ </p>
36
+ </div>
views/packages/main/s1.setup2.php CHANGED
@@ -98,13 +98,14 @@ STORAGE -->
98
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/amazon-64.png" />
99
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/dropbox-64.png" />
100
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/google_drive_64px.png" />
101
- <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/ftp-64.png" />
102
- <?php echo sprintf(__('%1$s, %2$s, %3$s, %4$s and other storage options available in', 'duplicator'), 'Amazon', 'Dropbox', 'Google Drive', 'FTP'); ?>
 
103
  <a href="https://snapcreek.com/duplicator/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=free_storage&utm_campaign=duplicator_pro" target="_blank"><?php _e('Duplicator Pro', 'duplicator');?></a>
104
  <i class="fa fa-lightbulb-o"
105
  data-tooltip-title="<?php _e("Additional Storage:", 'duplicator'); ?>"
106
  data-tooltip="<?php _e('Duplicator Pro allows you to create a package and then store it at a custom location on this server or to a cloud '
107
- . 'based location such as Google Drive, Amazon, Dropbox or FTP.', 'duplicator'); ?>">
108
  </i>
109
  </span>
110
  </div>
98
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/amazon-64.png" />
99
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/dropbox-64.png" />
100
  <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/google_drive_64px.png" />
101
+ <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/ftp-64.png" />
102
+ <img src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/onedrive-48px.png" />
103
+ <?php echo sprintf(__('%1$s, %2$s, %3$s, %4$s, %5$s and other storage options available in', 'duplicator'), 'Amazon', 'Dropbox', 'Google Drive', 'FTP', 'OneDrive'); ?>
104
  <a href="https://snapcreek.com/duplicator/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=free_storage&utm_campaign=duplicator_pro" target="_blank"><?php _e('Duplicator Pro', 'duplicator');?></a>
105
  <i class="fa fa-lightbulb-o"
106
  data-tooltip-title="<?php _e("Additional Storage:", 'duplicator'); ?>"
107
  data-tooltip="<?php _e('Duplicator Pro allows you to create a package and then store it at a custom location on this server or to a cloud '
108
+ . 'based location such as Google Drive, Amazon, Dropbox, OneDrive or FTP.', 'duplicator'); ?>">
109
  </i>
110
  </span>
111
  </div>
views/settings/about-info.php CHANGED
@@ -26,12 +26,13 @@
26
  img#dup-img-5stars:hover {opacity:1.0;}
27
 
28
  /* EMAIL AREA */
29
- div.dup-support-email-area {width:825px; height:250px; border:1px solid #dfdfdf; border-radius:4px; margin:10px; line-height:18px;box-shadow: 0 8px 6px -6px #ccc;}
30
  #mce-EMAIL {font-size:20px; height:40px; width:500px}
31
  #mce-responses {width:300px}
32
  #mc-embedded-subscribe { height: 35px; font-size: 16px; font-weight: bold}
33
  div.mce_inline_error {width:300px; margin: auto !important}
34
- div#mce-responses {margin: auto; padding: 10px; width:500px}
 
35
  </style>
36
 
37
  <script>var switchTo5x = true;</script>
@@ -133,11 +134,18 @@
133
  </div>
134
  <div style="position:absolute; left:-5000px;"><input type="text" name="b_e2a9a514bfefa439bf2b7cf16_1270a169c1" tabindex="-1" value=""></div>
135
  <div style="margin: auto; text-align: center">
136
- <input type="submit" class="button-primary button-large" value="Sign me up!" name="subscribe" id="mc-embedded-subscribe" >
137
  </div>
138
  <!-- Forces the submission to use Duplicator group -->
139
  <input style="display:none" checked="checked" type="checkbox" value="1" name="group[15741][1]" id="mce-group[15741]-15741-0">
140
  </div>
 
 
 
 
 
 
 
141
  </form>
142
  </div>
143
  </div>
@@ -163,4 +171,17 @@
163
 
164
 
165
  </div>
166
- </div><br/><br/><br/><br/>
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  img#dup-img-5stars:hover {opacity:1.0;}
27
 
28
  /* EMAIL AREA */
29
+ div.dup-support-email-area {width:825px; height:355px; border:1px solid #dfdfdf; border-radius:4px; margin:10px; line-height:18px;box-shadow: 0 8px 6px -6px #ccc;}
30
  #mce-EMAIL {font-size:20px; height:40px; width:500px}
31
  #mce-responses {width:300px}
32
  #mc-embedded-subscribe { height: 35px; font-size: 16px; font-weight: bold}
33
  div.mce_inline_error {width:300px; margin: auto !important}
34
+ div#mce-responses {margin: auto; padding: 10px; width:500px; font-weight: bold;}
35
+
36
  </style>
37
 
38
  <script>var switchTo5x = true;</script>
134
  </div>
135
  <div style="position:absolute; left:-5000px;"><input type="text" name="b_e2a9a514bfefa439bf2b7cf16_1270a169c1" tabindex="-1" value=""></div>
136
  <div style="margin: auto; text-align: center">
137
+ <input disabled="disabled" type="submit" class="button-primary button-large" value="Sign me up!" name="subscribe" id="mc-embedded-subscribe" >
138
  </div>
139
  <!-- Forces the submission to use Duplicator group -->
140
  <input style="display:none" checked="checked" type="checkbox" value="1" name="group[15741][1]" id="mce-group[15741]-15741-0">
141
  </div>
142
+ <div style="margin-top:10px; margin-left:100px; width: 650px;text-align:left">
143
+ <small>
144
+ <input type="checkbox" name="privacy" id="privacy-checkbox"></input>
145
+ <label for="privacy-checkbox" style="padding-left:5px; display:block; margin-top:-20px; margin-left:20px;">Check box this box if you would like us to contact you by email with helpful information about Duplicator and other Snap Creek products.<br/></br> We will process your data in accordance with our <a target="_blank" href="//snapcreek.com/privacy-policy">privacy policy</a>. You may withdraw this consent at any time by <a target="_blank" href="mailto:admin@snapcreek.com">emailing us</a> or updating your information by clicking the unsubscribe link in the emails you receive.</span></label>
146
+ </small>
147
+
148
+ </div>
149
  </form>
150
  </div>
151
  </div>
171
 
172
 
173
  </div>
174
+ </div><br/><br/><br/><br/>
175
+ <script>
176
+ jQuery(document).ready(function($){
177
+
178
+ $('input[type="checkbox"][name="privacy"]').change(function() {
179
+ if(this.checked) {
180
+ $("#mc-embedded-subscribe").prop("disabled", false);
181
+ } else {
182
+ $("#mc-embedded-subscribe").prop("disabled", true);
183
+ }
184
+
185
+ });
186
+ });
187
+ </script>
views/settings/storage.php CHANGED
@@ -19,6 +19,7 @@
19
  <li><i class="fa fa-dropbox"></i> <?php _e(' Dropbox', 'duplicator'); ?></li>
20
  <li><i class="fa fa-google"></i> <?php _e('Google Drive', 'duplicator'); ?></li>
21
  <li><i class="fa fa-upload"></i> <?php _e('FTP &amp; SFTP', 'duplicator'); ?></li>
 
22
  <li><i class="fa fa-folder-open-o"></i> <?php _e('Custom Directory', 'duplicator'); ?></li>
23
  </ul>
24
  </div>
19
  <li><i class="fa fa-dropbox"></i> <?php _e(' Dropbox', 'duplicator'); ?></li>
20
  <li><i class="fa fa-google"></i> <?php _e('Google Drive', 'duplicator'); ?></li>
21
  <li><i class="fa fa-upload"></i> <?php _e('FTP &amp; SFTP', 'duplicator'); ?></li>
22
+ <li><i class="fa fa-cloud"></i> <?php _e('OneDrive', 'duplicator'); ?></li>
23
  <li><i class="fa fa-folder-open-o"></i> <?php _e('Custom Directory', 'duplicator'); ?></li>
24
  </ul>
25
  </div>