WP Engine Automated Migration - Version 4.55

Version Description

  • Added Migration Readiness Page
Download this release

Release Info

Developer ritesh.soni36
Plugin Icon 128x128 WP Engine Automated Migration
Version 4.55
Comparing to
See all releases

Code changes from version 4.54 to 4.55

Files changed (7) hide show
  1. account.php +1 -1
  2. admin/main_page.php +1 -1
  3. callback/wings/info.php +1 -1
  4. info.php +1 -1
  5. readme.txt +4 -2
  6. wp_admin.php +7 -2
  7. wpengine.php +1 -1
account.php CHANGED
@@ -183,7 +183,7 @@ if (!class_exists('WPEAccount')) :
183
  }
184
  $this->sig_match = self::getSigMatch($request, $this->secret);
185
  if ($this->sig_match !== $request->sig) {
186
- return $sig_match;
187
  }
188
  $this->settings->updateOption('bvLastRecvTime', $time);
189
  return 1;
183
  }
184
  $this->sig_match = self::getSigMatch($request, $this->secret);
185
  if ($this->sig_match !== $request->sig) {
186
+ return false;
187
  }
188
  $this->settings->updateOption('bvLastRecvTime', $time);
189
  return 1;
admin/main_page.php CHANGED
@@ -16,7 +16,7 @@
16
  <label class="normal-text horizontal">
17
  <input type="hidden" name="bvsrc" value="wpplugin" />
18
  <input type="hidden" name="migrate" value="wpengine" />
19
- <input type="checkbox" name="consent" onchange="document.getElementById('migratesubmit').disabled = !this.checked;" value="1">
20
  <span class="checkmark"></span>&nbsp;
21
  I agree to WP Engine's <a href="https://wpengine.com/legal/terms-of-service/" style="text-decoration: none; color: #9579F2;">Terms of Service</a>
22
  </label>
16
  <label class="normal-text horizontal">
17
  <input type="hidden" name="bvsrc" value="wpplugin" />
18
  <input type="hidden" name="migrate" value="wpengine" />
19
+ <input type="checkbox" name="consent" onchange="document.getElementById('migratesubmit').disabled = !this.checked;" value="1" autocomplete='off'>
20
  <span class="checkmark"></span>&nbsp;
21
  I agree to WP Engine's <a href="https://wpengine.com/legal/terms-of-service/" style="text-decoration: none; color: #9579F2;">Terms of Service</a>
22
  </label>
callback/wings/info.php CHANGED
@@ -211,7 +211,7 @@ class BVInfoCallback extends BVCallbackBase {
211
  $data['protect'] = $settings->getOption('bvptconf');
212
  $data['brand'] = $settings->getOption($this->bvinfo->brand_option);
213
  $data['badgeinfo'] = $settings->getOption($this->bvinfo->badgeinfo);
214
- $data[$services_option_name] = $this->bvinfo->config;
215
  }
216
 
217
  public function dbconf(&$info) {
211
  $data['protect'] = $settings->getOption('bvptconf');
212
  $data['brand'] = $settings->getOption($this->bvinfo->brand_option);
213
  $data['badgeinfo'] = $settings->getOption($this->bvinfo->badgeinfo);
214
+ $data[$this->bvinfo->services_option_name] = $this->bvinfo->config;
215
  }
216
 
217
  public function dbconf(&$info) {
info.php CHANGED
@@ -10,7 +10,7 @@ if (!class_exists('WPEInfo')) :
10
  public $badgeinfo = 'wpebadge';
11
  public $ip_header_option = 'wpeipheader';
12
  public $brand_option = 'wpebrand';
13
- public $version = '4.54';
14
  public $webpage = 'https://wpengine.com';
15
  public $appurl = 'https://wpengine.blogvault.net';
16
  public $slug = 'wp-site-migrate/wpengine.php';
10
  public $badgeinfo = 'wpebadge';
11
  public $ip_header_option = 'wpeipheader';
12
  public $brand_option = 'wpebrand';
13
+ public $version = '4.55';
14
  public $webpage = 'https://wpengine.com';
15
  public $appurl = 'https://wpengine.blogvault.net';
16
  public $slug = 'wp-site-migrate/wpengine.php';
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: wpengine, blogvault, akshatc, taylor4484
3
  Tags: wpe, wpengine, migration
4
  Requires at least: 4.0
5
- Tested up to: 5.6
6
  Requires PHP: 5.4.0
7
- Stable tag: 4.54
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -79,6 +79,8 @@ That's easy! [Signup here](http://wpengine.com/plans/).
79
  2. BlogVault dashboard showing live updates.
80
 
81
  == Changelog ==
 
 
82
 
83
  = 4.54 =
84
  * Upgrading to new UI
2
  Contributors: wpengine, blogvault, akshatc, taylor4484
3
  Tags: wpe, wpengine, migration
4
  Requires at least: 4.0
5
+ Tested up to: 5.7
6
  Requires PHP: 5.4.0
7
+ Stable tag: 4.55
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
79
  2. BlogVault dashboard showing live updates.
80
 
81
  == Changelog ==
82
+ = 4.55 =
83
+ * Added Migration Readiness Page
84
 
85
  = 4.54 =
86
  * Upgrading to new UI
wp_admin.php CHANGED
@@ -124,7 +124,9 @@ class WPEWPAdmin {
124
  }
125
 
126
  public function siteInfoTags() {
 
127
  require_once dirname( __FILE__ ) . '/recover.php';
 
128
  $bvnonce = wp_create_nonce("bvnonce");
129
  $secret = WPERecover::defaultSecret($this->settings);
130
  $public = WPEAccount::getApiPublicKey($this->settings);
@@ -135,7 +137,10 @@ class WPEWPAdmin {
135
  "<input type='hidden' name='plug' value='".$this->bvinfo->plugname."'/>\n".
136
  "<input type='hidden' name='adminurl' value='".$this->mainUrl()."'/>\n".
137
  "<input type='hidden' name='bvversion' value='".$this->bvinfo->version."'/>\n".
138
- "<input type='hidden' name='serverip' value='".$_SERVER["SERVER_ADDR"]."'/>\n".
 
 
 
139
  "<input type='hidden' name='abspath' value='".ABSPATH."'/>\n".
140
  "<input type='hidden' name='secret' value='".$secret."'/>\n".
141
  "<input type='hidden' name='public' value='".$public."'/>\n".
@@ -197,4 +202,4 @@ class WPEWPAdmin {
197
  return $plugins;
198
  }
199
  }
200
- endif;
124
  }
125
 
126
  public function siteInfoTags() {
127
+ global $wp_version;
128
  require_once dirname( __FILE__ ) . '/recover.php';
129
+ $is_wpmu = $this->siteinfo->isMultisite() ? 1 : 0;
130
  $bvnonce = wp_create_nonce("bvnonce");
131
  $secret = WPERecover::defaultSecret($this->settings);
132
  $public = WPEAccount::getApiPublicKey($this->settings);
137
  "<input type='hidden' name='plug' value='".$this->bvinfo->plugname."'/>\n".
138
  "<input type='hidden' name='adminurl' value='".$this->mainUrl()."'/>\n".
139
  "<input type='hidden' name='bvversion' value='".$this->bvinfo->version."'/>\n".
140
+ "<input type='hidden' name='wpversion' value='".$wp_version."'/>\n".
141
+ "<input type='hidden' name='php_version' value='".phpversion()."'/>\n".
142
+ "<input type='hidden' name='is_wpmu' value='".$is_wpmu."'/>\n".
143
+ "<input type='hidden' name='serverip' value='".$_SERVER["SERVER_ADDR"]."'/>\n".
144
  "<input type='hidden' name='abspath' value='".ABSPATH."'/>\n".
145
  "<input type='hidden' name='secret' value='".$secret."'/>\n".
146
  "<input type='hidden' name='public' value='".$public."'/>\n".
202
  return $plugins;
203
  }
204
  }
205
+ endif;
wpengine.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://wpengine.com
5
  Description: The easiest way to migrate your site to WP Engine
6
  Author: WPEngine
7
  Author URI: https://wpengine.com
8
- Version: 4.54
9
  Network: True
10
  */
11
 
5
  Description: The easiest way to migrate your site to WP Engine
6
  Author: WPEngine
7
  Author URI: https://wpengine.com
8
+ Version: 4.55
9
  Network: True
10
  */
11