The WP Remote WordPress Plugin - Version 2.7.9.2

Version Description

Download this release

Release Info

Developer jeramynirodha
Plugin Icon 128x128 The WP Remote WordPress Plugin
Version 2.7.9.2
Comparing to
See all releases

Code changes from version 2.7.9.1 to 2.7.9.2

Files changed (3) hide show
  1. plugin.php +1 -1
  2. readme.txt +6 -2
  3. wprp.api.php +2 -2
plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: WP Remote
5
  Description: Manage your WordPress site with <a href="https://wpremote.com/">WP Remote</a>. <strong>Deactivate to clear your API Key.</strong>
6
- Version: 2.7.9.1
7
  Author: maekit
8
  Author URI: https://maek.it/
9
  */
3
  /*
4
  Plugin Name: WP Remote
5
  Description: Manage your WordPress site with <a href="https://wpremote.com/">WP Remote</a>. <strong>Deactivate to clear your API Key.</strong>
6
+ Version: 2.7.9.2
7
  Author: maekit
8
  Author URI: https://maek.it/
9
  */
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: jeramynirodha, bmett, humanmade, willmot, joehoyle, danielbachhube
3
  Tags: wpremote, remote administration, multiple wordpress
4
  Requires at least: 3.0
5
  Tested up to: 4.8.1
6
- Stable tag: 2.7.9.1
7
 
8
  WP Remote is a free web app that enables you to easily manage all of your WordPress powered sites from one place.
9
 
@@ -72,7 +72,11 @@ You can email us at support@wpremote.com for support.
72
 
73
  == Changelog ==
74
 
75
- #### 2.7.9.1 (22 August 2017)
 
 
 
 
76
 
77
  * Add Fallback method for when current user isn't found
78
 
3
  Tags: wpremote, remote administration, multiple wordpress
4
  Requires at least: 3.0
5
  Tested up to: 4.8.1
6
+ Stable tag: 2.7.9.2
7
 
8
  WP Remote is a free web app that enables you to easily manage all of your WordPress powered sites from one place.
9
 
72
 
73
  == Changelog ==
74
 
75
+ #### 2.7.9.2 (25 August 2017)
76
+
77
+ * Bug fix for php < 7
78
+
79
+ #### 2.7.9.1 (25 August 2017)
80
 
81
  * Add Fallback method for when current user isn't found
82
 
wprp.api.php CHANGED
@@ -94,10 +94,10 @@ if ($users_query->get_total()) {
94
  if (!$user) {
95
  continue;
96
  }
97
- wp_set_current_user($user->ID);
98
  break;
99
  }
100
- if (empty(wp_get_current_user())) {
101
  wp_set_current_user(1);
102
  }
103
  }
94
  if (!$user) {
95
  continue;
96
  }
97
+ $currentUser = wp_set_current_user($user->ID);
98
  break;
99
  }
100
+ if (empty($currentUser)) {
101
  wp_set_current_user(1);
102
  }
103
  }