PluginProbe
The WP Remote WordPress Plugin / 4.81
The WP Remote WordPress Plugin v4.81
6.76 6.72 6.69 6.65 6.62 6.48 6.47 4.87 4.97 5.05 5.09 5.16 5.22 5.24 5.25 5.38 5.41 5.42 5.45 5.47 5.53 5.56 5.65 5.68 5.72 All 54 releases
← All changes | callback/wings/account.php +2 -10 5.474.81 View file →
@@ -5,9 +5,9 @@
5 5 class BVAccountCallback extends BVCallbackBase {
6 6 public $account;
7 7 public $settings;
8 8
9 - const ACCOUNT_WING_VERSION = 1.2;
9 + const ACCOUNT_WING_VERSION = 1.1;
10 10
11 11 public function __construct($callback_handler) {
12 12 $this->account = $callback_handler->account;
13 13 $this->settings = $callback_handler->settings;
@@ -73,17 +73,9 @@
73 73 case "rmoldbvacc":
74 74 $resp = array("status" => $settings->deleteOption('bvAccounts'));
75 75 break;
76 76 case "fetch":
77 - $accounts = WPRAccount::allAccounts($this->settings);
78 - if (!isset($params['full'])) {
79 - foreach ($accounts as &$account) {
80 - if (isset($account['secret'])) {
81 - unset($account['secret']);
82 - }
83 - }
84 - }
85 - $resp = array("status" => $accounts);
77 + $resp = array("status" => WPRAccount::allAccounts($this->settings));
86 78 break;
87 79 case "updtinfo":
88 80 $resp = $this->updateInfo($params);
89 81 break;