Version Description
Download this release
Release Info
Developer | willmot |
Plugin | The WP Remote WordPress Plugin |
Version | 0.2 |
Comparing to | |
See all releases |
Code changes from version 0.1 to 0.2
- plugin.php +7 -2
- readme.txt +2 -2
plugin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/*
|
4 |
Plugin Name: WP Remote
|
5 |
Description: Extends the functionality of <a href="http://www.wpremote.com">WP Remote</a>.
|
6 |
-
Version: 0.
|
7 |
Author: willmot
|
8 |
Author URI: http://humanmade.co.uk/
|
9 |
*/
|
@@ -47,9 +47,14 @@ function wpr_get_plugin_list( $args ) {
|
|
47 |
do_action( 'xmlrpc_call', 'wp.getPluginList' );
|
48 |
|
49 |
$plugins = get_plugins( );
|
50 |
-
$current = get_transient( 'update_plugins' );
|
51 |
|
|
|
|
|
|
|
|
|
|
|
52 |
foreach ( (array) $plugins as $plugin_file => $plugin ) {
|
|
|
53 |
$new_version = $current->response[$plugin_file]->new_version;
|
54 |
|
55 |
if ( is_plugin_active( $plugin_file ) ) {
|
3 |
/*
|
4 |
Plugin Name: WP Remote
|
5 |
Description: Extends the functionality of <a href="http://www.wpremote.com">WP Remote</a>.
|
6 |
+
Version: 0.2
|
7 |
Author: willmot
|
8 |
Author URI: http://humanmade.co.uk/
|
9 |
*/
|
47 |
do_action( 'xmlrpc_call', 'wp.getPluginList' );
|
48 |
|
49 |
$plugins = get_plugins( );
|
|
|
50 |
|
51 |
+
if( function_exists( 'get_site_transient' ) )
|
52 |
+
$current = get_site_transient( 'update_plugins' );
|
53 |
+
else
|
54 |
+
$current = get_transient( 'update_plugins' );
|
55 |
+
|
56 |
foreach ( (array) $plugins as $plugin_file => $plugin ) {
|
57 |
+
|
58 |
$new_version = $current->response[$plugin_file]->new_version;
|
59 |
|
60 |
if ( is_plugin_active( $plugin_file ) ) {
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: willmot, joehoyle
|
3 |
Tags: wpremote, remote, xmlrpc
|
4 |
Requires at least: 2.7
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 0.
|
7 |
|
8 |
Adds extra functionality for use with WP Remote
|
9 |
|
2 |
Contributors: willmot, joehoyle
|
3 |
Tags: wpremote, remote, xmlrpc
|
4 |
Requires at least: 2.7
|
5 |
+
Tested up to: 3.0
|
6 |
+
Stable tag: 0.2
|
7 |
|
8 |
Adds extra functionality for use with WP Remote
|
9 |
|