The WP Remote WordPress Plugin - Version 2.8.1

Version Description

Download this release

Release Info

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

Code changes from version 2.8.0.1 to 2.8.1

Files changed (3) hide show
  1. plugin.php +3 -2
  2. readme.txt +18 -15
  3. wprp.admin.php +31 -4
plugin.php CHANGED
@@ -2,8 +2,8 @@
2
 
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.8.0.1
7
  Author: maekit
8
  Author URI: https://maek.it/
9
  */
@@ -26,6 +26,7 @@ Author URI: https://maek.it/
26
  */
27
 
28
  define( 'WPRP_PLUGIN_SLUG', 'wpremote' );
 
29
  define( 'WPRP_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
30
 
31
  if ( ! defined( 'WPR_URL' ) )
2
 
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.1
7
  Author: maekit
8
  Author URI: https://maek.it/
9
  */
26
  */
27
 
28
  define( 'WPRP_PLUGIN_SLUG', 'wpremote' );
29
+ define( 'WPRP_PLUGIN_BASE', plugin_basename(__FILE__) );
30
  define( 'WPRP_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
31
 
32
  if ( ! defined( 'WPR_URL' ) )
readme.txt CHANGED
@@ -3,21 +3,24 @@ 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.8.0.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
 
10
  == Description ==
11
 
12
- The WP Remote WordPress Plugin works with [WP Remote](https://wpremote.com/) to enable you to remotely manage all your WordPress sites.
13
 
14
  = Features =
15
 
16
- * Track all your WordPress sites from one place.
17
- * Track the WordPress version each site is running and easily update.
18
- * Track all your plugins and themes and 1 click update them.
19
  * Free to monitor and update an unlimited number of sites.
20
- * Back up your database and files.
 
 
 
 
 
 
21
 
22
  = Support =
23
 
@@ -44,13 +47,9 @@ The easiest way to ensure you have the correct domain name is to open your site
44
  2. If you have made recent changes to your DNS/Nameservers records:
45
  If this is the case then just give it a little more time and try again later.
46
 
47
- **Where does WP Remote store the Automatic Backup files?**
48
-
49
- Backups are stored on Amazon S3 using AES-256 Server Side Encryption.
50
-
51
  **What if I want to back up my site to another destination?**
52
 
53
- You can also store your backups on your own Amazon S3, Dropbox or you can upload backups to your own server via FTP or SFTP.
54
 
55
  **How do I restore my site from a backup?**
56
 
@@ -60,18 +59,22 @@ WP Remote does not provide an automated way to restore your site. We recommend d
60
 
61
  General support questions should be posted in the <a href="http://wordpress.org/support/plugin/wpremote">WordPress support forums.</a>
62
 
63
- For development issues, feature requests or anybody wishing to help out with development checkout <a href="https://github.com/humanmade/backupwordpress/">BackUpWordPress on GitHub.</a>
64
-
65
  You can email us at support@wpremote.com for support.
66
 
67
  == Screenshots ==
68
 
69
  1. The WP Remote dashboard at wpremote.com
70
  2. See all of the plugins and themes needing update across all Sites in one view.
71
- 3. Download nightly Automatic Backups (Premium feature).
72
 
73
  == Changelog ==
74
 
 
 
 
 
 
 
75
  #### 2.8.0.1 (31 August 2017)
76
 
77
  * Bug fix for PHP < 5.4
@@ -255,4 +258,4 @@ You can email us at support@wpremote.com for support.
255
 
256
  ## Contribution guidelines ##
257
 
258
- see https://github.com/humanmade/WP-Remote-WordPress-Plugin/blob/master/CONTRIBUTING.md
3
  Tags: wpremote, remote administration, multiple wordpress
4
  Requires at least: 3.0
5
  Tested up to: 4.8.1
6
+ Stable tag: 2.8.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
 
10
  == Description ==
11
 
12
+ The WP Remote WordPress Plugin works with [WP Remote](https://wpremote.com/) to enable you to remotely manage and update all your WordPress sites.
13
 
14
  = Features =
15
 
 
 
 
16
  * Free to monitor and update an unlimited number of sites.
17
+ * Track and update all of your WordPress sites from one place.
18
+ * Track and update all of your WordPress plugins and themes from one place.
19
+ * Schedule automatic backups to AWS, SFTP, FTP.
20
+ * Perform manual backups of your WordPress database and files.
21
+ * Download previous backups from the one place.
22
+ * Install and activate plugins and themes from the one place.
23
+ * Early beta access to [maekit](https://maek.it/) web design business platform.
24
 
25
  = Support =
26
 
47
  2. If you have made recent changes to your DNS/Nameservers records:
48
  If this is the case then just give it a little more time and try again later.
49
 
 
 
 
 
50
  **What if I want to back up my site to another destination?**
51
 
52
+ You can also store your backups on your own Amazon S3 or you can upload backups to your own server via FTP or SFTP.
53
 
54
  **How do I restore my site from a backup?**
55
 
59
 
60
  General support questions should be posted in the <a href="http://wordpress.org/support/plugin/wpremote">WordPress support forums.</a>
61
 
 
 
62
  You can email us at support@wpremote.com for support.
63
 
64
  == Screenshots ==
65
 
66
  1. The WP Remote dashboard at wpremote.com
67
  2. See all of the plugins and themes needing update across all Sites in one view.
68
+ 3. Download nightly Automatic Backups.
69
 
70
  == Changelog ==
71
 
72
+ #### 2.8.1 (10 October 2017)
73
+
74
+ * Add link to clear API key from the plugin settings page.
75
+ * Prevent WP Remote from clearing the API key on deactivation
76
+ * Clear API key on uninstall
77
+
78
  #### 2.8.0.1 (31 August 2017)
79
 
80
  * Bug fix for PHP < 5.4
258
 
259
  ## Contribution guidelines ##
260
 
261
+ see https://github.com/MyWorkAus/WP-Remote-WordPress-Plugin/blob/master/CONTRIBUTING.md
wprp.admin.php CHANGED
@@ -79,9 +79,36 @@ add_action( 'admin_notices', 'wprp_api_key_added_admin_notice' );
79
  *
80
  * @return null
81
  */
82
- function wprp_deactivate() {
83
  delete_option( 'wpr_api_key' );
84
  }
85
- // Plugin activation and deactivation
86
- add_action( 'activate_' . WPRP_PLUGIN_SLUG . '/plugin.php', 'wprp_deactivate' );
87
- add_action( 'deactivate_' . WPRP_PLUGIN_SLUG . '/plugin.php', 'wprp_deactivate' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  *
80
  * @return null
81
  */
82
+ function delete_wpr_options() {
83
  delete_option( 'wpr_api_key' );
84
  }
85
+ // Plugin uninstall hook
86
+ register_uninstall_hook(WPRP_PLUGIN_BASE, 'delete_wpr_options');
87
+
88
+ /**
89
+ * Clear API key from plugin page setting link
90
+ */
91
+ function plugin_add_settings_link( $links ) {
92
+ $settings_link = '<a href="options-general.php?page=wpremote">' . __( 'Clear API key' ) . '</a>';
93
+ array_unshift($links, $settings_link);
94
+ return $links;
95
+ }
96
+
97
+ add_filter( "plugin_action_links_" . WPRP_PLUGIN_BASE, 'plugin_add_settings_link' );
98
+
99
+ /**
100
+ * Register WPR Pages
101
+ */
102
+ function wpr_register_pages() {
103
+ add_submenu_page( null, __('WP Remote Settings'), __('WP Remote Settings'), 'activate_plugins', 'wpremote', 'wpr_settings_page' );
104
+ }
105
+ add_action('admin_menu', 'wpr_register_pages');
106
+
107
+ /**
108
+ * Show settings page
109
+ * TODO: Implement a more comprehensive setting page
110
+ */
111
+ function wpr_settings_page( ) {
112
+ delete_wpr_options();
113
+ exit( wp_redirect( admin_url( 'plugins.php' ) ) );
114
+ }