Version Description
Download this release
Release Info
Developer | willmot |
Plugin | The WP Remote WordPress Plugin |
Version | 2.4.5 |
Comparing to | |
See all releases |
Code changes from version 2.4.4 to 2.4.5
- plugin.php +12 -7
- readme.txt +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>. <strong>Deactivate to clear your API Key.</strong>
|
6 |
-
Version: 2.4.
|
7 |
Author: Human Made Limited
|
8 |
Author URI: http://hmn.md/
|
9 |
*/
|
@@ -177,14 +177,19 @@ function wprp_catch_api_call() {
|
|
177 |
}
|
178 |
add_action( 'init', 'wprp_catch_api_call', 1 );
|
179 |
|
180 |
-
|
181 |
|
182 |
-
|
183 |
-
define( 'WPRP_VERSION', $plugin_data['Version'] );
|
184 |
|
185 |
-
//
|
186 |
-
|
187 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
|
189 |
/**
|
190 |
* Run any update code and update the current version in the db
|
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.4.5
|
7 |
Author: Human Made Limited
|
8 |
Author URI: http://hmn.md/
|
9 |
*/
|
177 |
}
|
178 |
add_action( 'init', 'wprp_catch_api_call', 1 );
|
179 |
|
180 |
+
function wprp_plugin_update_check() {
|
181 |
|
182 |
+
$plugin_data = get_plugin_data( __FILE__ );
|
|
|
183 |
|
184 |
+
// define the plugin version
|
185 |
+
define( 'WPRP_VERSION', $plugin_data['Version'] );
|
186 |
+
|
187 |
+
// Fire the update action
|
188 |
+
if ( WPRP_VERSION !== get_option( 'wprp_plugin_version' ) )
|
189 |
+
wprp_update();
|
190 |
+
|
191 |
+
}
|
192 |
+
add_action( 'admin_init', 'wprp_plugin_update_check' );
|
193 |
|
194 |
/**
|
195 |
* Run any update code and update the current version in the db
|
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.5
|
6 |
-
Stable tag: 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 |
|
3 |
Tags: wpremote, remote administration, multiple wordpress
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 3.5
|
6 |
+
Stable tag: 2.4.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 |
|