PluginProbe
The WP Remote WordPress Plugin / 4.79
The WP Remote WordPress Plugin v4.79
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 5.73 All 53 releases
← All changes | info.php +6 -13 5.244.79 View file →
@@ -9,9 +9,9 @@
9 9 public $brandname = 'WP Remote';
10 10 public $badgeinfo = 'wprbadge';
11 11 public $ip_header_option = 'wpripheader';
12 12 public $brand_option = 'wprbrand';
13 - public $version = '5.24';
13 + public $version = '4.79';
14 14 public $webpage = 'https://wpremote.com';
15 15 public $appurl = 'https://app.wpremote.com';
16 16 public $slug = 'wpremote/plugin.php';
17 17 public $plug_redirect = 'wprredirect';
@@ -17,12 +17,10 @@
17 17 public $plug_redirect = 'wprredirect';
18 18 public $logo = '../img/wprlogo.png';
19 19 public $brand_icon = '/img/icon.png';
20 20 public $services_option_name = 'wprconfig';
21 - public $author = 'WP Remote';
22 - public $title = 'WP Remote';
23 21
24 - const DB_VERSION = '4';
22 + const DB_VERSION = '3';
25 23
26 24 public function __construct($settings) {
27 25 $this->settings = $settings;
28 26 $this->config = $this->settings->getOption($this->services_option_name);
@@ -106,18 +104,13 @@
106 104 }
107 105
108 106 public function isValidEnvironment(){
109 107 $bvsiteinfo = new WPRWPSiteInfo();
108 + $siteurl = $bvsiteinfo->siteurl();
110 109 $bvconfig = $this->config;
111 -
112 - if (is_multisite()) {
113 - return true;
114 - } elseif ($bvconfig && array_key_exists("siteurl_scheme", $bvconfig)) {
115 - $siteurl = $bvsiteinfo->siteurl('', $bvconfig["siteurl_scheme"]);
116 - if (array_key_exists("abspath", $bvconfig) &&
117 - array_key_exists("siteurl", $bvconfig) && !empty($siteurl)) {
118 - return ($bvconfig["abspath"] == ABSPATH && $bvconfig["siteurl"] == $siteurl);
119 - }
110 + if ($bvconfig && array_key_exists("abspath", $bvconfig) &&
111 + array_key_exists("siteurl", $bvconfig) && !empty($siteurl)) {
112 + return ($bvconfig["abspath"] == ABSPATH && $bvconfig["siteurl"] == $siteurl);
120 113 }
121 114 return true;
122 115 }
123 116