The WP Remote WordPress Plugin - Version 2.2.5

Version Description

Download this release

Release Info

Developer joehoyle
Plugin Icon 128x128 The WP Remote WordPress Plugin
Version 2.2.5
Comparing to
See all releases

Code changes from version 2.2.4 to 2.2.5

Files changed (3) hide show
  1. plugin.php +4 -1
  2. readme.txt +4 -1
  3. wprp.api.php +6 -0
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>. Deactivate to clear your API Key.
6
- Version: 2.2.4
7
  Author: Human Made Limited
8
  Author URI: http://hmn.md/
9
  */
@@ -148,6 +148,9 @@ function _wprp_upgrade_core() {
148
  include_once ( ABSPATH . 'wp-admin/includes/upgrade.php' );
149
  include_once ( ABSPATH . 'wp-includes/update.php' );
150
 
 
 
 
151
  $updates = get_core_updates();
152
 
153
  if ( is_wp_error( $updates ) || ! $updates )
3
  /*
4
  Plugin Name: WP Remote
5
  Description: Manage your WordPress site with <a href="https://wpremote.com/">WP Remote</a>. Deactivate to clear your API Key.
6
+ Version: 2.2.5
7
  Author: Human Made Limited
8
  Author URI: http://hmn.md/
9
  */
148
  include_once ( ABSPATH . 'wp-admin/includes/upgrade.php' );
149
  include_once ( ABSPATH . 'wp-includes/update.php' );
150
 
151
+ // force refresh
152
+ wp_version_check();
153
+
154
  $updates = get_core_updates();
155
 
156
  if ( is_wp_error( $updates ) || ! $updates )
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: humanmade, joehoyle, mattheu, tcrsavage, willmot
3
  Tags: wpremote, remote administration, multiple wordpress
4
  Requires at least: 2.9
5
  Tested up to: 3.4.1
6
- Stable tag: 2.2.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
 
@@ -31,6 +31,9 @@ You can email us at support@wpremote.com for support.
31
 
32
  == Changelog ==
33
 
 
 
 
34
  #### 2.2.4
35
 
36
  * Fixed excludes for backups directories
3
  Tags: wpremote, remote administration, multiple wordpress
4
  Requires at least: 2.9
5
  Tested up to: 3.4.1
6
+ Stable tag: 2.2.5
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
 
31
 
32
  == Changelog ==
33
 
34
+ #### 2.2.5
35
+ * Implemented API call for Core updates
36
+
37
  #### 2.2.4
38
 
39
  * Fixed excludes for backups directories
wprp.api.php CHANGED
@@ -45,6 +45,12 @@ foreach( $actions as $action => $value ) {
45
 
46
  break;
47
 
 
 
 
 
 
 
48
  case 'get_plugins' :
49
 
50
  $actions[$action] = _wprp_supports_plugin_upgrade() ? _wprp_get_plugins() : 'not-implemented';
45
 
46
  break;
47
 
48
+ case 'upgrade_core' :
49
+
50
+ $actions[$action] = _wprp_upgrade_core();
51
+
52
+ break;
53
+
54
  case 'get_plugins' :
55
 
56
  $actions[$action] = _wprp_supports_plugin_upgrade() ? _wprp_get_plugins() : 'not-implemented';