Version Description
Download this release
Release Info
Developer | willmot |
Plugin | The WP Remote WordPress Plugin |
Version | 0.6 |
Comparing to | |
See all releases |
Code changes from version 0.5 to 0.6
- plugin.php +1 -1
- readme.txt +1 -1
- wpr.api.php +6 -3
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 |
*/
|
3 |
/*
|
4 |
Plugin Name: WP Remote
|
5 |
Description: Extends the functionality of <a href="http://www.wpremote.com">WP Remote</a>.
|
6 |
+
Version: 0.6
|
7 |
Author: willmot
|
8 |
Author URI: http://humanmade.co.uk/
|
9 |
*/
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: willmot, joehoyle
|
|
3 |
Tags: wpremote, remote, xmlrpc
|
4 |
Requires at least: 2.7
|
5 |
Tested up to: 3.0.4
|
6 |
-
Stable tag: 0.
|
7 |
|
8 |
Adds extra functionality for use with WP Remote
|
9 |
|
3 |
Tags: wpremote, remote, xmlrpc
|
4 |
Requires at least: 2.7
|
5 |
Tested up to: 3.0.4
|
6 |
+
Stable tag: 0.6
|
7 |
|
8 |
Adds extra functionality for use with WP Remote
|
9 |
|
wpr.api.php
CHANGED
@@ -54,10 +54,13 @@ function _wpr_get_plugins() {
|
|
54 |
|
55 |
wp_update_plugins();
|
56 |
|
57 |
-
|
58 |
-
|
|
|
|
|
|
|
59 |
else
|
60 |
-
$
|
61 |
|
62 |
foreach ( (array) $plugins as $plugin_file => $plugin ) {
|
63 |
|
54 |
|
55 |
wp_update_plugins();
|
56 |
|
57 |
+
//different versions of wp store the updates in different places
|
58 |
+
if( function_exists( 'get_site_transient' ) && $transient = get_site_transient( 'update_plugins' ) )
|
59 |
+
$current = $transient;
|
60 |
+
elseif( $transient = get_transient( 'update_plugins' ) )
|
61 |
+
$current = $transient;
|
62 |
else
|
63 |
+
$cuurrent = get_option( 'update_plugins' );
|
64 |
|
65 |
foreach ( (array) $plugins as $plugin_file => $plugin ) {
|
66 |
|