The WP Remote WordPress Plugin - Version 2.8.4

Version Description

Download this release

Release Info

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

Code changes from version 2.8.3 to 2.8.4

Files changed (3) hide show
  1. plugin.php +1 -1
  2. readme.txt +6 -2
  3. wprp.plugins.php +2 -6
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>.
6
- Version: 2.8.3
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>.
6
+ Version: 2.8.4
7
  Author: maekit
8
  Author URI: https://maek.it/
9
  */
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: jeramynirodha, bmett, humanmade, willmot, joehoyle, danielbachhuber, mattheu, pauldewouters, cuvelier, tcrsavage
3
  Tags: wpremote, remote administration, multiple wordpress
4
  Requires at least: 3.0
5
- Tested up to: 4.8.2
6
- Stable tag: 2.8.3
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
 
@@ -69,6 +69,10 @@ You can email us at support@wpremote.com for support.
69
 
70
  == Changelog ==
71
 
 
 
 
 
72
  #### 2.8.3 (21 November 2017)
73
 
74
  * Add endpoint to validate plugin update
2
  Contributors: jeramynirodha, bmett, humanmade, willmot, joehoyle, danielbachhuber, mattheu, pauldewouters, cuvelier, tcrsavage
3
  Tags: wpremote, remote administration, multiple wordpress
4
  Requires at least: 3.0
5
+ Tested up to: 4.9
6
+ Stable tag: 2.8.4
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
 
69
 
70
  == Changelog ==
71
 
72
+ #### 2.8.4 (3 December 2017)
73
+
74
+ * Modify error message response in certain situations
75
+
76
  #### 2.8.3 (21 November 2017)
77
 
78
  * Add endpoint to validate plugin update
wprp.plugins.php CHANGED
@@ -161,14 +161,10 @@ function _wprp_update_plugin( $plugin_file, $args ) {
161
  activate_plugin( $plugin_file, '', $is_active_network, true );
162
 
163
  if ( ! empty( $skin->error ) ) {
164
- $msg = $upgrader->strings[$skin->error];
165
  if (is_wp_error($skin->error)) {
166
- $msg = $skin->error->get_error_message();
167
  }
168
- if (empty($msg)) {
169
- $msg = __('Unknown error updating plugin.', 'wpremote');
170
- }
171
- return new WP_Error('plugin-upgrader-skin', $msg);
172
  } else if ( is_wp_error( $result ) ) {
173
  return $result;
174
  } else if ( ( ! $result && ! is_null( $result ) ) || $data ) {
161
  activate_plugin( $plugin_file, '', $is_active_network, true );
162
 
163
  if ( ! empty( $skin->error ) ) {
 
164
  if (is_wp_error($skin->error)) {
165
+ return $skin->error;
166
  }
167
+ return new WP_Error('plugin-upgrader-skin', __('Unknown error updating plugin.', 'wpremote'));
 
 
 
168
  } else if ( is_wp_error( $result ) ) {
169
  return $result;
170
  } else if ( ( ! $result && ! is_null( $result ) ) || $data ) {