WP Clone by WP Academy - Version 2.2.4

Version Description

  • 2017-01-28 =
  • Updated: Admin area.
  • Updated: Tested up to tag.
Download this release

Release Info

Developer wpacademy
Plugin Icon 128x128 WP Clone by WP Academy
Version 2.2.4
Comparing to
See all releases

Code changes from version 2.2.3 to 2.2.4

Files changed (3) hide show
  1. lib/view.php +24 -38
  2. readme.txt +14 -9
  3. wpclone.php +1 -1
lib/view.php CHANGED
@@ -56,14 +56,17 @@ $backups = get_option( 'wpclone_backups' );
56
  <div id="wrapper">
57
  <div id="MainView">
58
 
59
- <h2>Welcome to WP Clone by WP Academy</h2>
60
 
61
  <p>You can use this tool to create a backup of this site and (optionally) restore it to another server, or another WordPress installation on the same server.</p>
62
 
63
  <p><strong>Here is how it works:</strong> the "Backup" function will give you a URL that you can then copy and paste
64
  into the "Restore" dialog of a new WordPress site, which will clone the original site to the new site. You must
65
  install the plugin on the new site and then run the WP Clone > Restore function.</p>
66
-
 
 
 
67
  <p><strong>Choose your selection below:</strong> either create a backup of this site, or choose which backup you
68
  would like to restore.</p>
69
 
@@ -201,32 +204,33 @@ $backups = get_option( 'wpclone_backups' );
201
 
202
  ?>
203
  </div>
204
- <div id="sidebar">
205
 
206
  <ul>
207
- <h2>WP Academy Resources</h2>
208
- <iframe src="//player.vimeo.com/video/98912458?title=0&amp;byline=0&amp;portrait=0" width="300" height="225" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
209
- <li><a href="http://wpencyclopedia.com" target="_blank" title="WP Encyclopedia">WordPress Business Encyclopedia</a></li>
210
- <li><a href="http://www.wpacademy.com/wordpress-training" target="_blank" title="WP Live">WP Live</a></li>
211
- <li><a href="http://wpacademy.com/websites" target="_blank" title="WP Academy Websites">Websites</a></li>
212
- <li><a href="http://www.wpacademy.com/hosting" target="_blank" title="Managed WordPress Hosting">Managed WordPress Hosting</a></li>
 
213
  </ul>
214
-
215
- <ul>
216
- <h2>WP Academy News</h2>
217
- <h3>WPAcademy.com</h3>
218
- <?php wpa_fetch_feed ('http://members.wpacademy.com/category/news/feed', 3); ?>
219
- <h3>Twitter @WPAcademy</h3>
220
- <?php /* wpa_fetch_feed ('http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=wpacademy', 5); */ ?>
221
- <a class="twitter-timeline" height="400" href="https://twitter.com/WPAcademy" data-widget-id="342116561412304898">Tweets by @WPAcademy</a>
222
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
223
-
224
  </ul>
225
 
 
226
  <ul>
227
  <h2>Help & Support</h2>
228
  <li><a href="http://members.wpacademy.com/wpclone-faq" target="_blank" title="WP Clone FAQ">Visit the WP Clone FAQ Page</a></li>
229
  <li><a href="http://wordpress.org/support/plugin/wp-clone-by-wp-academy" target="_blank" title="Support Forum">Support forum at WordPress.org</a></li>
 
230
  </ul>
231
 
232
  </div>
@@ -260,24 +264,6 @@ $backups = get_option( 'wpclone_backups' );
260
  if (!is_writable(WPCLONE_WP_CONTENT)) { echo '<span style="color:#f11">wp-content is not writable, please change its permissions before you perform a restore.</span></br>'; }
261
  if (!is_writable(wpa_wpconfig_path())) { echo '<span style="color:#f11">wp-config.php is not writable, please change its permissions before you perform a restore.</span></br>'; }
262
  echo '</p></div>';
263
- }
264
- function wpa_fetch_feed ($feed, $limit) {
265
- include_once(ABSPATH . WPINC . '/feed.php');
266
- $rss = fetch_feed($feed);
267
- if (!is_wp_error( $rss ) ) :
268
- $maxitems = $rss->get_item_quantity($limit);
269
- $rss_items = $rss->get_items(0, $maxitems);
270
- endif;
271
- if ( isset($maxitems) && $maxitems == 0 ) echo '<li>No items.</li>';
272
- else
273
- // Loop through each feed item and display each item as a hyperlink.
274
- foreach ( $rss_items as $item ) : ?>
275
- <li>
276
- <a href='<?php echo esc_url( $item->get_permalink() ); ?>'
277
- title='<?php echo 'Posted '.$item->get_date('j F Y | g:i a'); ?>'>
278
- <?php echo esc_html( $item->get_title() ); ?></a>
279
- </li>
280
- <?php endforeach;
281
- }
282
 
283
  /** it all ends here folks. */
56
  <div id="wrapper">
57
  <div id="MainView">
58
 
59
+ <h2>Welcome to WP Clone by <a href="http://wpacademy.com">WP Academy</a></h2>
60
 
61
  <p>You can use this tool to create a backup of this site and (optionally) restore it to another server, or another WordPress installation on the same server.</p>
62
 
63
  <p><strong>Here is how it works:</strong> the "Backup" function will give you a URL that you can then copy and paste
64
  into the "Restore" dialog of a new WordPress site, which will clone the original site to the new site. You must
65
  install the plugin on the new site and then run the WP Clone > Restore function.</p>
66
+ <p><b>Attention:</b> The restore process will fail on approximately 10% of installations and may render your site unusable.
67
+ Please carefully read <a href="http://members.wpacademy.com/wpclone-faq/">No Support and Disclaimer</a>.
68
+ We do offer <a href="http://members.wpacademy.com/services/">Paid Site Transfer Services</a> using more reliable backup methods.</p>
69
+
70
  <p><strong>Choose your selection below:</strong> either create a backup of this site, or choose which backup you
71
  would like to restore.</p>
72
 
204
 
205
  ?>
206
  </div>
207
+ <div id="sidebar">
208
 
209
  <ul>
210
+ <h2>Managed WordPress Hosting from $12/mth, with 6 months free!</h2>
211
+ <p>Watch us test the performance of WP Academy hosting, and review benefits</p>
212
+ <iframe src="//player.vimeo.com/video/187757407?title=0&amp;byline=0&amp;portrait=0" width="300" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
213
+ <p>Get true <a href="http://wpacademy.com/hosting">Managed WordPress Hosting</a> for just $12/mth (20% discount)
214
+ <a href ="https://wpwebsitenow.com/billing/cart.php?a=add&pid=9">here</a>.
215
+ Enter coupon <b>FREE6</b> at checkout for additional 6 months free. Unlimited sites!</p>
216
+
217
  </ul>
218
+
219
+ <ul>
220
+ <h2>Site Transfer Service from $10!</h2>
221
+ <a href="http://members.wpacademy.com/services/"><img src="//d28zm3zq58hlat.cloudfront.net/img/wordpress-site-clone-backup-buddy.jpg" /></a>
222
+ <p>Save time and avoid headaches: hire us to transfer your site.
223
+ The <a href="http://members.wpacademy.com/product/clone-backupbuddy/">upgrade option</a> even includes a lifetime license and configuration of
224
+ <b>Backup Buddy</b>, the best WordPress backup plugin!</p>
225
+
 
 
226
  </ul>
227
 
228
+
229
  <ul>
230
  <h2>Help & Support</h2>
231
  <li><a href="http://members.wpacademy.com/wpclone-faq" target="_blank" title="WP Clone FAQ">Visit the WP Clone FAQ Page</a></li>
232
  <li><a href="http://wordpress.org/support/plugin/wp-clone-by-wp-academy" target="_blank" title="Support Forum">Support forum at WordPress.org</a></li>
233
+ <li><a href="http://members.wpacademy.com/services/">Paid Site Transfer Service</a></li>
234
  </ul>
235
 
236
  </div>
264
  if (!is_writable(WPCLONE_WP_CONTENT)) { echo '<span style="color:#f11">wp-content is not writable, please change its permissions before you perform a restore.</span></br>'; }
265
  if (!is_writable(wpa_wpconfig_path())) { echo '<span style="color:#f11">wp-config.php is not writable, please change its permissions before you perform a restore.</span></br>'; }
266
  echo '</p></div>';
267
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
 
269
  /** it all ends here folks. */
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === WP Clone by WP Academy ===
2
  Contributors: wpacademy
3
- Donate link: http://wpacademy.com/software
4
  Tags: wp academy, wpacademy, move wordpress, copy wordpress, clone wordpress, install wordpress, wordpress hosting, backup, restore
5
  Author URI: http://wpacademy.com
6
  Plugin URI: http://wpacademy.com/software
7
  Requires at least: 3.0
8
- Tested up to: 4.6
9
- Stable tag: 2.2.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -23,11 +23,10 @@ WP Clone is a superior solution to even commercial WordPress cloning plugins for
23
  * It fetches the site backup via your host&apos;s direct http connection, which saves you from needing to upload large files through your internet connection
24
 
25
  <blockquote>
26
- = Update December 2015 =
27
- Prior to the latest update, WP Clone was failing in 10-20% of installations (particularly larger installations), as reflected in the negative reviews.
28
- Since the latest update, we have successfully restored 2GB sites, but we cannot guarantee the reliability on all installations.
29
- <strong>Please carefully read the section below NO SUPPORT AND DISCLAIMER before you attempt to use this plugin.</strong>
30
-
31
  </blockquote>
32
 
33
  = Help Video =
@@ -47,7 +46,9 @@ As mentioned above, WP Clone fails in 10-20% of installations. As such it is NO
47
  You can also try the [Duplicator plugin](https://wordpress.org/plugins/duplicator/) or [All-in-One WP Migration](https://wordpress.org/plugins/all-in-one-wp-migration/), both of which work pretty good, but are not as fast as WP Clone to migrate sites; or use the manual method described here http://wpencyclopedia.com/enc/index.htm?moving-wordpress.htm
48
 
49
  = Donations =
50
- Although we are not able to provide support to every installation, we have spent countless hours improving the plugin and responding to user feedback. We believe that WP Clone is far and away the easiest WordPress restoration plugin and intend to continue to develop it. If you are able to support our efforts, use the Donations Page.
 
 
51
 
52
  = Additional documentation =
53
  Additional documentation, including supported hosts, at the [WP Clone FAQ Page](http://members.wpacademy.com/wpclone-faq "WP Clone FAQ")
@@ -69,6 +70,10 @@ If you are able to help out with plugin development or wish to contribute insigh
69
  Review FAQ's and Help Video at the [WP Clone FAQ Page](http://members.wpacademy.com/wpclone-faq "WP Clone FAQ")
70
 
71
  == Changelog ==
 
 
 
 
72
  = 2.2.3 - 2016-11-29 =
73
  * Added: PHP7 support
74
  * Added: a multisite check during restore.
1
  === WP Clone by WP Academy ===
2
  Contributors: wpacademy
3
+ Donate link: http://members.wpacademy.com/wpclone-faq/
4
  Tags: wp academy, wpacademy, move wordpress, copy wordpress, clone wordpress, install wordpress, wordpress hosting, backup, restore
5
  Author URI: http://wpacademy.com
6
  Plugin URI: http://wpacademy.com/software
7
  Requires at least: 3.0
8
+ Tested up to: 4.7.1
9
+ Stable tag: 2.2.4
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
23
  * It fetches the site backup via your host&apos;s direct http connection, which saves you from needing to upload large files through your internet connection
24
 
25
  <blockquote>
26
+ = Update January 2017 =
27
+ WP Clone fails to restore in approximately 10% of installations (particularly larger installations),
28
+ as reflected in the negative reviews. <strong>Please carefully read the section below NO SUPPORT AND DISCLAIMER before you attempt to use this plugin</strong>.
29
+ You also may use our <a href="http://members.wpacademy.com/services/">Paid Site Transfer Service</a>.
 
30
  </blockquote>
31
 
32
  = Help Video =
46
  You can also try the [Duplicator plugin](https://wordpress.org/plugins/duplicator/) or [All-in-One WP Migration](https://wordpress.org/plugins/all-in-one-wp-migration/), both of which work pretty good, but are not as fast as WP Clone to migrate sites; or use the manual method described here http://wpencyclopedia.com/enc/index.htm?moving-wordpress.htm
47
 
48
  = Donations =
49
+ Although we are not able to provide support to every installation, we have spent countless hours improving the plugin and responding to user feedback.
50
+ We believe that WP Clone is far and away the easiest WordPress restoration plugin and intend to continue to develop it.
51
+ If you are able to support our efforts, use the [Donations Page](http://members.wpacademy.com/wpclone-faq/).
52
 
53
  = Additional documentation =
54
  Additional documentation, including supported hosts, at the [WP Clone FAQ Page](http://members.wpacademy.com/wpclone-faq "WP Clone FAQ")
70
  Review FAQ's and Help Video at the [WP Clone FAQ Page](http://members.wpacademy.com/wpclone-faq "WP Clone FAQ")
71
 
72
  == Changelog ==
73
+ = 2.2.4 - 2017-01-28 =
74
+ * Updated: Admin area.
75
+ * Updated: `Tested up to` tag.
76
+
77
  = 2.2.3 - 2016-11-29 =
78
  * Added: PHP7 support
79
  * Added: a multisite check during restore.
wpclone.php CHANGED
@@ -4,7 +4,7 @@ Plugin name: WP Clone by WP Academy
4
  Plugin URI: http://wpacademy.com/software/
5
  Description: Move or copy a WordPress site to another server or to another domain name, move to/from local server hosting, and backup sites.
6
  Author: WP Academy
7
- Version: 2.2.3
8
  Author URI: http://wpacademy.com/
9
  */
10
 
4
  Plugin URI: http://wpacademy.com/software/
5
  Description: Move or copy a WordPress site to another server or to another domain name, move to/from local server hosting, and backup sites.
6
  Author: WP Academy
7
+ Version: 2.2.4
8
  Author URI: http://wpacademy.com/
9
  */
10