The WP Remote WordPress Plugin - Version 4.78

Version Description

  • Improvements in identifying plugin and theme updates.
Download this release

Release Info

Developer ritesh.soni36
Plugin Icon 128x128 The WP Remote WordPress Plugin
Version 4.78
Comparing to
See all releases

Code changes from version 4.77 to 4.78

Files changed (5) hide show
  1. callback/base.php +1 -1
  2. callback/wings/info.php +27 -7
  3. info.php +1 -1
  4. plugin.php +1 -1
  5. readme.txt +5 -2
callback/base.php CHANGED
@@ -14,7 +14,7 @@ class BVCallbackBase {
14
  "ACCOUNT_WING_VERSION" => '1.1',
15
  "MISC_WING_VERSION" => '1.2',
16
  "FS_WING_VERSION" => '1.2',
17
- "INFO_WING_VERSION" => '1.4',
18
  "WATCH_WING_VERSION" => '1.0',
19
  "FS_WRITE_WING_VERSION" => '1.0',
20
  "IPSTORE_WING_VERSION" => '1.0',
14
  "ACCOUNT_WING_VERSION" => '1.1',
15
  "MISC_WING_VERSION" => '1.2',
16
  "FS_WING_VERSION" => '1.2',
17
+ "INFO_WING_VERSION" => '1.5',
18
  "WATCH_WING_VERSION" => '1.0',
19
  "FS_WRITE_WING_VERSION" => '1.0',
20
  "IPSTORE_WING_VERSION" => '1.0',
callback/wings/info.php CHANGED
@@ -10,7 +10,7 @@ class BVInfoCallback extends BVCallbackBase {
10
  public $bvinfo;
11
  public $bvapi;
12
 
13
- const INFO_WING_VERSION = 1.4;
14
 
15
  public function __construct($callback_handler) {
16
  $this->db = $callback_handler->db;
@@ -334,12 +334,32 @@ class BVInfoCallback extends BVCallbackBase {
334
  return array("transient" => $transient);
335
  }
336
 
337
- function getPluginsHandler() {
338
- return array_merge($this->getPlugins(), $this->getTransient('update_plugins'));
 
 
 
 
 
 
 
 
 
 
339
  }
340
 
341
- function getThemesHandler() {
342
- return array_merge($this->getThemes(), $this->getTransient('update_themes'));
 
 
 
 
 
 
 
 
 
 
343
  }
344
 
345
  function getSiteInfo($args) {
@@ -358,10 +378,10 @@ class BVInfoCallback extends BVCallbackBase {
358
  $result['users'] = $this->getUsersHandler($args['users']);
359
 
360
  if (array_key_exists('plugins', $args))
361
- $result['plugins'] = $this->getPluginsHandler();
362
 
363
  if (array_key_exists('themes', $args))
364
- $result['themes'] = $this->getThemesHandler();
365
 
366
  if (array_key_exists('core', $args))
367
  $result['core'] = $this->getTransient('update_core');
10
  public $bvinfo;
11
  public $bvapi;
12
 
13
+ const INFO_WING_VERSION = 1.5;
14
 
15
  public function __construct($callback_handler) {
16
  $this->db = $callback_handler->db;
334
  return array("transient" => $transient);
335
  }
336
 
337
+ function getPluginsHandler($args = array()) {
338
+ $result = array_merge($this->getPlugins(), $this->getTransient('update_plugins'));
339
+
340
+ if (array_key_exists('clear_filters', $args)) {
341
+ $filters = $args['clear_filters'];
342
+ foreach ($filters as $filter)
343
+ remove_all_filters($filter);
344
+ $transient_without_filters = $this->getTransient('update_plugins');
345
+ $result['transient_without_filters'] = $transient_without_filters['transient'];
346
+ }
347
+
348
+ return $result;
349
  }
350
 
351
+ function getThemesHandler($args = array()) {
352
+ $result = array_merge($this->getThemes(), $this->getTransient('update_themes'));
353
+
354
+ if (array_key_exists('clear_filters', $args)) {
355
+ $filters = $args['clear_filters'];
356
+ foreach ($filters as $filter)
357
+ remove_all_filters($filter);
358
+ $transient_without_filters = $this->getTransient('update_themes');
359
+ $result['transient_without_filters'] = $transient_without_filters['transient'];
360
+ }
361
+
362
+ return $result;
363
  }
364
 
365
  function getSiteInfo($args) {
378
  $result['users'] = $this->getUsersHandler($args['users']);
379
 
380
  if (array_key_exists('plugins', $args))
381
+ $result['plugins'] = $this->getPluginsHandler($args['plugins']);
382
 
383
  if (array_key_exists('themes', $args))
384
+ $result['themes'] = $this->getThemesHandler($args['themes']);
385
 
386
  if (array_key_exists('core', $args))
387
  $result['core'] = $this->getTransient('update_core');
info.php CHANGED
@@ -10,7 +10,7 @@ if (!class_exists('WPRInfo')) :
10
  public $badgeinfo = 'wprbadge';
11
  public $ip_header_option = 'wpripheader';
12
  public $brand_option = 'wprbrand';
13
- public $version = '4.77';
14
  public $webpage = 'https://wpremote.com';
15
  public $appurl = 'https://app.wpremote.com';
16
  public $slug = 'wpremote/plugin.php';
10
  public $badgeinfo = 'wprbadge';
11
  public $ip_header_option = 'wpripheader';
12
  public $brand_option = 'wprbrand';
13
+ public $version = '4.78';
14
  public $webpage = 'https://wpremote.com';
15
  public $appurl = 'https://app.wpremote.com';
16
  public $slug = 'wpremote/plugin.php';
plugin.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://wpremote.com
5
  Description: Manage your WordPress site with <a href="https://wpremote.com/">WP Remote</a>.
6
  Author: WP Remote
7
  Author URI: https://wpremote.com
8
- Version: 4.77
9
  Network: True
10
  */
11
 
5
  Description: Manage your WordPress site with <a href="https://wpremote.com/">WP Remote</a>.
6
  Author: WP Remote
7
  Author URI: https://wpremote.com
8
+ Version: 4.78
9
  Network: True
10
  */
11
 
readme.txt CHANGED
@@ -4,9 +4,9 @@ Tags: wpremote, remote administration, multiple wordpress, backup, wordpress bac
4
  Plugin URI: https://wpremote.com/
5
  Donate link: https://app.wpremote.com/home/signup
6
  Requires at least: 4.0
7
- Tested up to: 5.9
8
  Requires PHP: 5.4.0
9
- Stable tag: 4.77
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
 
@@ -32,6 +32,9 @@ You can email us at support@wpremote.com for support.
32
  3. Sign up for an account at wpremote.com and add your site.
33
 
34
  == CHANGELOG ==
 
 
 
35
  = 4.77 =
36
  * Improved the landing pages.
37
  * Enhanced future vulnerability protection
4
  Plugin URI: https://wpremote.com/
5
  Donate link: https://app.wpremote.com/home/signup
6
  Requires at least: 4.0
7
+ Tested up to: 6.0
8
  Requires PHP: 5.4.0
9
+ Stable tag: 4.78
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
 
32
  3. Sign up for an account at wpremote.com and add your site.
33
 
34
  == CHANGELOG ==
35
+ = 4.78 =
36
+ * Improvements in identifying plugin and theme updates.
37
+
38
  = 4.77 =
39
  * Improved the landing pages.
40
  * Enhanced future vulnerability protection