Version Description
- Plugin branding fixes
Download this release
Release Info
Developer | ritesh.soni36 |
Plugin | Migrate Guru: Migrate & Clone WordPress Free |
Version | 3.4 |
Comparing to | |
See all releases |
Code changes from version 3.2 to 3.4
- account.php +2 -2
- callback/wings/account.php +2 -2
- info.php +1 -1
- migrateguru.php +1 -1
- readme.txt +9 -2
- wp_admin.php +5 -0
account.php
CHANGED
@@ -174,8 +174,8 @@ if (!class_exists('MGAccount')) :
|
|
174 |
return false;
|
175 |
}
|
176 |
|
177 |
-
public function
|
178 |
-
$accounts = self::allAccounts($
|
179 |
return array_key_exists($pubkey, $accounts);
|
180 |
}
|
181 |
}
|
174 |
return false;
|
175 |
}
|
176 |
|
177 |
+
public static function exists($settings, $pubkey) {
|
178 |
+
$accounts = self::allAccounts($settings);
|
179 |
return array_key_exists($pubkey, $accounts);
|
180 |
}
|
181 |
}
|
callback/wings/account.php
CHANGED
@@ -18,7 +18,7 @@ class BVAccountCallback extends BVCallbackBase {
|
|
18 |
switch ($request->method) {
|
19 |
case "addacc":
|
20 |
MGAccount::addAccount($this->settings, $params['public'], $params['secret']);
|
21 |
-
$resp = array("status" => $
|
22 |
break;
|
23 |
case "rmacc":
|
24 |
$resp = array("status" => $account->remove($params['public']));
|
@@ -29,7 +29,7 @@ class BVAccountCallback extends BVCallbackBase {
|
|
29 |
$info['url'] = $params['url'];
|
30 |
$info['pubkey'] = $params['pubkey'];
|
31 |
$account->updateInfo($info);
|
32 |
-
$resp = array("status" => $
|
33 |
break;
|
34 |
case "updtapikey":
|
35 |
$resp = array("status" => MGAccount::updateApiPublicKey($this->settings, $params['pubkey']));
|
18 |
switch ($request->method) {
|
19 |
case "addacc":
|
20 |
MGAccount::addAccount($this->settings, $params['public'], $params['secret']);
|
21 |
+
$resp = array("status" => MGAccount::exists($this->settings, $params['public']));
|
22 |
break;
|
23 |
case "rmacc":
|
24 |
$resp = array("status" => $account->remove($params['public']));
|
29 |
$info['url'] = $params['url'];
|
30 |
$info['pubkey'] = $params['pubkey'];
|
31 |
$account->updateInfo($info);
|
32 |
+
$resp = array("status" => MGAccount::exists($this->settings, $params['pubkey']));
|
33 |
break;
|
34 |
case "updtapikey":
|
35 |
$resp = array("status" => MGAccount::updateApiPublicKey($this->settings, $params['pubkey']));
|
info.php
CHANGED
@@ -9,7 +9,7 @@ if (!class_exists('MGInfo')) :
|
|
9 |
public $badgeinfo = 'bvmgbadge';
|
10 |
public $ip_header_option = 'bvmgipheader';
|
11 |
public $brand_option = 'bvmgbrand';
|
12 |
-
public $version = '3.
|
13 |
public $webpage = 'https://www.migrateguru.com';
|
14 |
public $appurl = 'https://mg.blogvault.net';
|
15 |
public $slug = 'migrate-guru/migrateguru.php';
|
9 |
public $badgeinfo = 'bvmgbadge';
|
10 |
public $ip_header_option = 'bvmgipheader';
|
11 |
public $brand_option = 'bvmgbrand';
|
12 |
+
public $version = '3.4';
|
13 |
public $webpage = 'https://www.migrateguru.com';
|
14 |
public $appurl = 'https://mg.blogvault.net';
|
15 |
public $slug = 'migrate-guru/migrateguru.php';
|
migrateguru.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://www.migrateguru.com
|
|
5 |
Description: Migrating your site(s) to any WordPress Hosting platform has never been so easy.
|
6 |
Author: Migrate Guru
|
7 |
Author URI: http://www.migrateguru.com
|
8 |
-
Version: 3.
|
9 |
Network: True
|
10 |
*/
|
11 |
|
5 |
Description: Migrating your site(s) to any WordPress Hosting platform has never been so easy.
|
6 |
Author: Migrate Guru
|
7 |
Author URI: http://www.migrateguru.com
|
8 |
+
Version: 3.4
|
9 |
Network: True
|
10 |
*/
|
11 |
|
readme.txt
CHANGED
@@ -4,8 +4,9 @@ Tags: migrate, migrate WordPress, WordPress migration, migration, clone, transfe
|
|
4 |
Plugin URI: https://www.migrateguru.com/
|
5 |
Donate link: https://www.migrateguru.com/
|
6 |
Requires at least: 4.0
|
7 |
-
|
8 |
-
|
|
|
9 |
License: GPLv2 or later
|
10 |
License URI: [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)
|
11 |
|
@@ -131,6 +132,12 @@ Yes, we do. You can access it here: https://migrateguru.freshdesk.com/support/ho
|
|
131 |
6. Click ‘Migrate’.
|
132 |
|
133 |
== Changelog =
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
= 3.1 =
|
135 |
* Adding params validation
|
136 |
* Adding support for custom user tables
|
4 |
Plugin URI: https://www.migrateguru.com/
|
5 |
Donate link: https://www.migrateguru.com/
|
6 |
Requires at least: 4.0
|
7 |
+
Requires PHP: 5.4.0
|
8 |
+
Tested up to: 5.4
|
9 |
+
Stable tag: 3.4
|
10 |
License: GPLv2 or later
|
11 |
License URI: [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)
|
12 |
|
132 |
6. Click ‘Migrate’.
|
133 |
|
134 |
== Changelog =
|
135 |
+
= 3.4 =
|
136 |
+
* Plugin branding fixes
|
137 |
+
|
138 |
+
= 3.2 =
|
139 |
+
* Updating account authentication struture
|
140 |
+
|
141 |
= 3.1 =
|
142 |
* Adding params validation
|
143 |
* Adding support for custom user tables
|
wp_admin.php
CHANGED
@@ -157,6 +157,11 @@ class MGWPAdmin {
|
|
157 |
|
158 |
public function initBranding($plugins) {
|
159 |
$slug = $this->bvinfo->slug;
|
|
|
|
|
|
|
|
|
|
|
160 |
$brand = $this->bvinfo->getBrandInfo();
|
161 |
if ($brand) {
|
162 |
if (array_key_exists('hide', $brand)) {
|
157 |
|
158 |
public function initBranding($plugins) {
|
159 |
$slug = $this->bvinfo->slug;
|
160 |
+
|
161 |
+
if (!is_array($plugins) || !isset($slug, $plugins)) {
|
162 |
+
return $plugins;
|
163 |
+
}
|
164 |
+
|
165 |
$brand = $this->bvinfo->getBrandInfo();
|
166 |
if ($brand) {
|
167 |
if (array_key_exists('hide', $brand)) {
|