WP Engine Automated Migration - Version 4.68

Version Description

  • Removing use of constants for arrays for PHP 5.4 support.
  • Post type fetch improvement.
Download this release

Release Info

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

Code changes from version 4.65 to 4.68

callback/base.php CHANGED
@@ -5,10 +5,10 @@ if (!class_exists('BVCallbackBase')) :
5
 
6
  class BVCallbackBase {
7
 
8
- const WING_INFOS = array("BRAND_WING_VERSION" => '1.0',
9
  "DB_WING_VERSION" => '1.0',
10
  "ACCOUNT_WING_VERSION" => '1.0',
11
- "MISC_WING_VERSION" => '1.0',
12
  "FS_WING_VERSION" => '1.0',
13
  "INFO_WING_VERSION" => '1.0',
14
  );
5
 
6
  class BVCallbackBase {
7
 
8
+ public static $wing_infos = array("BRAND_WING_VERSION" => '1.0',
9
  "DB_WING_VERSION" => '1.0',
10
  "ACCOUNT_WING_VERSION" => '1.0',
11
+ "MISC_WING_VERSION" => '1.1',
12
  "FS_WING_VERSION" => '1.0',
13
  "INFO_WING_VERSION" => '1.0',
14
  );
callback/handler.php CHANGED
@@ -92,6 +92,10 @@ if (!class_exists('BVCallbackHandler')) :
92
  require_once dirname( __FILE__ ) . '/wings/actlog.php';
93
  $module = new BVActLogCallback($this);
94
  break;
 
 
 
 
95
  default:
96
  require_once dirname( __FILE__ ) . '/wings/misc.php';
97
  $module = new BVMiscCallback($this);
92
  require_once dirname( __FILE__ ) . '/wings/actlog.php';
93
  $module = new BVActLogCallback($this);
94
  break;
95
+ case 'speed':
96
+ require_once dirname( __FILE__ ) . '/wings/speed.php';
97
+ $module = new BVSpeedCallback($this);
98
+ break;
99
  default:
100
  require_once dirname( __FILE__ ) . '/wings/misc.php';
101
  $module = new BVMiscCallback($this);
callback/wings/misc.php CHANGED
@@ -11,7 +11,7 @@ class BVMiscCallback extends BVCallbackBase {
11
  public $bvapi;
12
  public $db;
13
 
14
- const MISC_WING_VERSION = 1.0;
15
 
16
  public function __construct($callback_handler) {
17
  $this->settings = $callback_handler->settings;
@@ -49,7 +49,7 @@ class BVMiscCallback extends BVCallbackBase {
49
  }
50
 
51
  public function getWingInfo() {
52
- return array('wing_info' => self::WING_INFOS);
53
  }
54
 
55
  public function post_types_data($post_params) {
@@ -68,7 +68,7 @@ class BVMiscCallback extends BVCallbackBase {
68
  AND post_status='publish' ORDER BY post_date DESC ) AS posts GROUP BY post_type";
69
  $posts = $this->db->getResult($post_query);
70
  foreach ( $posts as $key => $post ) {
71
- $posts[$key]['url'] = get_permalink($post);
72
  }
73
  $result['posts'] = $posts;
74
  return $result;
11
  public $bvapi;
12
  public $db;
13
 
14
+ const MISC_WING_VERSION = 1.1;
15
 
16
  public function __construct($callback_handler) {
17
  $this->settings = $callback_handler->settings;
49
  }
50
 
51
  public function getWingInfo() {
52
+ return array('wing_info' => self::$wing_infos);
53
  }
54
 
55
  public function post_types_data($post_params) {
68
  AND post_status='publish' ORDER BY post_date DESC ) AS posts GROUP BY post_type";
69
  $posts = $this->db->getResult($post_query);
70
  foreach ( $posts as $key => $post ) {
71
+ $posts[$key]['url'] = get_permalink($post['ID']);
72
  }
73
  $result['posts'] = $posts;
74
  return $result;
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.65';
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.68';
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.8
6
  Requires PHP: 5.4.0
7
- Stable tag: 4.65
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -79,6 +79,10 @@ That's easy! [Signup here](http://wpengine.com/plans/).
79
  2. BlogVault dashboard showing live updates.
80
 
81
  == Changelog ==
 
 
 
 
82
  = 4.65 =
83
  * Robust handling of requests params.
84
  * Callback wing versioning.
2
  Contributors: wpengine, blogvault, akshatc, taylor4484
3
  Tags: wpe, wpengine, migration
4
  Requires at least: 4.0
5
+ Tested up to: 5.9
6
  Requires PHP: 5.4.0
7
+ Stable tag: 4.68
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.68 =
83
+ * Removing use of constants for arrays for PHP 5.4 support.
84
+ * Post type fetch improvement.
85
+
86
  = 4.65 =
87
  * Robust handling of requests params.
88
  * Callback wing versioning.
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.65
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.68
9
  Network: True
10
  */
11