Version Description
Download this release
Release Info
Developer | willmot |
Plugin | The WP Remote WordPress Plugin |
Version | 0.6.6 |
Comparing to | |
See all releases |
Code changes from version 0.6.5 to 0.6.6
- plugin.php +34 -28
- readme.txt +3 -3
- wpr.admin.php +0 -0
- wpr.api.php +0 -0
plugin.php
CHANGED
@@ -3,18 +3,48 @@
|
|
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 |
*/
|
10 |
|
11 |
require_once( 'wpr.admin.php' );
|
12 |
-
include_once ( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
function wpr_catch_api_call() {
|
16 |
|
17 |
-
if( !urldecode( $_GET['wpr_api_key'] ) || !isset( $_GET['actions'] ) ) {
|
18 |
return;
|
19 |
}
|
20 |
|
@@ -23,28 +53,4 @@ function wpr_catch_api_call() {
|
|
23 |
exit;
|
24 |
|
25 |
}
|
26 |
-
add_action( 'init', 'wpr_catch_api_call', 1 );
|
27 |
-
|
28 |
-
|
29 |
-
class WPR_Upgrader_Skin extends Plugin_Installer_Skin {
|
30 |
-
var $feedback;
|
31 |
-
var $error;
|
32 |
-
function error( $error ) {
|
33 |
-
$this->error = $error;
|
34 |
-
}
|
35 |
-
function feedback( $feedback ) {
|
36 |
-
$this->feedback = $feedback;
|
37 |
-
}
|
38 |
-
function before() {
|
39 |
-
|
40 |
-
}
|
41 |
-
function after() {
|
42 |
-
|
43 |
-
}
|
44 |
-
function header() {
|
45 |
-
|
46 |
-
}
|
47 |
-
function footer() {
|
48 |
-
|
49 |
-
}
|
50 |
-
}
|
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.6
|
7 |
Author: willmot
|
8 |
Author URI: http://humanmade.co.uk/
|
9 |
*/
|
10 |
|
11 |
require_once( 'wpr.admin.php' );
|
|
|
12 |
|
13 |
+
// Don't include when doing a core update
|
14 |
+
if ( empty( $_GET['action'] ) || $_GET['action'] != 'do-core-upgrade' ) :
|
15 |
+
|
16 |
+
require_once ( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
|
17 |
+
|
18 |
+
class WPR_Upgrader_Skin extends Plugin_Installer_Skin {
|
19 |
+
|
20 |
+
var $feedback;
|
21 |
+
var $error;
|
22 |
+
|
23 |
+
function error( $error ) {
|
24 |
+
$this->error = $error;
|
25 |
+
}
|
26 |
+
function feedback( $feedback ) {
|
27 |
+
$this->feedback = $feedback;
|
28 |
+
}
|
29 |
+
function before() {
|
30 |
+
|
31 |
+
}
|
32 |
+
function after() {
|
33 |
+
|
34 |
+
}
|
35 |
+
function header() {
|
36 |
+
|
37 |
+
}
|
38 |
+
function footer() {
|
39 |
+
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
endif;
|
44 |
|
45 |
function wpr_catch_api_call() {
|
46 |
|
47 |
+
if ( empty( $_GET['wpr_api_key'] ) || !urldecode( $_GET['wpr_api_key'] ) || !isset( $_GET['actions'] ) ) {
|
48 |
return;
|
49 |
}
|
50 |
|
53 |
exit;
|
54 |
|
55 |
}
|
56 |
+
add_action( 'init', 'wpr_catch_api_call', 1 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -2,11 +2,11 @@
|
|
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.6.
|
7 |
|
8 |
Adds extra functionality for use with WP Remote
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
-
The WP Remote WordPress Plugin
|
2 |
Contributors: willmot, joehoyle
|
3 |
Tags: wpremote, remote, xmlrpc
|
4 |
Requires at least: 2.7
|
5 |
+
Tested up to: 3.0.5
|
6 |
+
Stable tag: 0.6.6
|
7 |
|
8 |
Adds extra functionality for use with WP Remote
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
+
The WP Remote WordPress Plugin is required for the use with [WP Remote](http://www.wpremote.com/)
|
wpr.admin.php
CHANGED
File without changes
|
wpr.api.php
CHANGED
File without changes
|