The WP Remote WordPress Plugin - Version 2.0.9

Version Description

Download this release

Release Info

Developer willmot
Plugin Icon 128x128 The WP Remote WordPress Plugin
Version 2.0.9
Comparing to
See all releases

Code changes from version 2.0.8 to 2.0.9

Files changed (3) hide show
  1. plugin.php +14 -3
  2. readme.txt +1 -1
  3. wprp.admin.php +1 -1
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.0.8
7
  Author: Human Made Limited
8
  Author URI: http://hmn.md/
9
  */
@@ -29,10 +29,21 @@ define( 'WPRP_PLUGIN_SLUG', basename( dirname( __FILE__ ) ) );
29
  define( 'WPRP_PLUGIN_PATH', WP_PLUGIN_DIR . '/' . WPRP_PLUGIN_SLUG );
30
  define( 'WPRP_PLUGIN_URL', WP_PLUGIN_URL . '/' . WPRP_PLUGIN_SLUG );
31
 
 
 
 
 
 
 
 
 
 
 
 
32
  require_once( WPRP_PLUGIN_PATH .'/wprp.admin.php' );
33
 
34
- // Backups require 3.1 TODO - do they?
35
- if ( version_compare( get_bloginfo('version'), '3.1', '>=' ) && ! class_exists( 'HM_Backup' ) )
36
  require( WPRP_PLUGIN_PATH . '/hm-backup/hm-backup.php' );
37
 
38
  // Don't include when doing a core update
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.0.9
7
  Author: Human Made Limited
8
  Author URI: http://hmn.md/
9
  */
29
  define( 'WPRP_PLUGIN_PATH', WP_PLUGIN_DIR . '/' . WPRP_PLUGIN_SLUG );
30
  define( 'WPRP_PLUGIN_URL', WP_PLUGIN_URL . '/' . WPRP_PLUGIN_SLUG );
31
 
32
+ // Don't activate on anything less than PHP 5.2.4
33
+ if ( version_compare( phpversion(), '5.2.4', '<' ) ) {
34
+
35
+ require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
36
+ deactivate_plugins( WPRP_PLUGIN_SLUG . '/plugin.php' );
37
+
38
+ if ( isset( $_GET['action'] ) && ( $_GET['action'] == 'activate' || $_GET['action'] == 'error_scrape' ) )
39
+ die( __( 'WP Remote requires PHP version 5.2.4 or greater.', 'wpremote' ) );
40
+
41
+ }
42
+
43
  require_once( WPRP_PLUGIN_PATH .'/wprp.admin.php' );
44
 
45
+ // Backups require 3.1
46
+ if ( version_compare( get_bloginfo( 'version' ), '3.1', '>=' ) && ! class_exists( 'HM_Backup' ) )
47
  require( WPRP_PLUGIN_PATH . '/hm-backup/hm-backup.php' );
48
 
49
  // Don't include when doing a core update
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.3.1
6
- Stable tag: 2.0.8
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
 
3
  Tags: wpremote, remote administration, multiple wordpress
4
  Requires at least: 2.9
5
  Tested up to: 3.3.1
6
+ Stable tag: 2.0.9
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
 
wprp.admin.php CHANGED
@@ -62,7 +62,7 @@ function wprp_api_key_added_admin_notice() {
62
  return; ?>
63
 
64
  <div id="wprp-message" class="updated">
65
- <p><strong>WP Remote API Key successfully added</strong>, close this page to go back to <a href="https://wpremote.com/">WP Remote</a>.</p>
66
  </div>
67
 
68
  <?php }
62
  return; ?>
63
 
64
  <div id="wprp-message" class="updated">
65
+ <p><strong>WP Remote API Key successfully added</strong>, close this page to go back to <a href="https://wpremote.com/app/">WP Remote</a>.</p>
66
  </div>
67
 
68
  <?php }