PluginProbe
The WP Remote WordPress Plugin / 6.76
The WP Remote WordPress Plugin v6.76
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 | info.php +10 -2 6.726.76 View file →
@@ -10,9 +10,9 @@
10 10 public $badgeinfo = 'wprbadge';
11 11 public $ip_header_option = 'wpripheader';
12 12 public $brand_option = 'bv_whitelabel_infos';
13 13 public $wp_lp_whitelabel_option = 'wprLpWhitelabelConf';
14 - public $version = '6.72';
14 + public $version = '6.76';
15 15 public $webpage = 'https://wpremote.com';
16 16 public $appurl = 'https://app.wpremote.com';
17 17 public $slug = 'wpremote/plugin.php';
18 18 public $plug_redirect = 'wprredirect';
@@ -37,8 +37,16 @@
37 37 }
38 38 return false;
39 39 }
40 40
41 + # The server leases capture for a few days at a time; a stale configuration
42 + # registers nothing.
43 + public function isActivityLogActive() {
44 + $config = isset($this->config['activity_log']) ? $this->config['activity_log'] : null;
45 + return $this->hasValidDBVersion() && is_array($config) && !empty($config['hooks']) &&
46 + isset($config['enabled_until']) && is_numeric($config['enabled_until']) && $config['enabled_until'] > time();
47 + }
48 +
41 49 public function hasValidDBVersion() {
42 50 return WPRInfo::DB_VERSION === $this->getCurrentDBVersion();
43 51 }
44 52
@@ -238,5 +246,5 @@
238 246 "plugname" => $this->plugname
239 247 );
240 248 }
241 249 }
242 -endif;
250 +endif;