Version Description
Download this release
Release Info
Developer | danielbachhuber |
Plugin | The WP Remote WordPress Plugin |
Version | 2.7.1 |
Comparing to | |
See all releases |
Code changes from version 2.7.0 to 2.7.1
- plugin.php +1 -1
- readme.txt +7 -2
- wprp.backups.php +6 -4
- wprp.hm.backup.php +1 -1
- wprp.integration.php +1 -1
- wprp.plugins.php +2 -0
- wprp.themes.php +2 -0
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.7.
|
7 |
Author: Human Made Limited
|
8 |
Author URI: http://hmn.md/
|
9 |
*/
|
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.7.1
|
7 |
Author: Human Made Limited
|
8 |
Author URI: http://hmn.md/
|
9 |
*/
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: humanmade, willmot, joehoyle, danielbachhuber, mattheu, pauldewouters, cuvelier, tcrsavage
|
3 |
Tags: wpremote, remote administration, multiple wordpress
|
4 |
Requires at least: 3.0
|
5 |
-
Tested up to: 3.
|
6 |
-
Stable tag: 2.7.
|
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 |
|
@@ -37,6 +37,11 @@ You can email us at support@wpremote.com for support.
|
|
37 |
|
38 |
== Changelog ==
|
39 |
|
|
|
|
|
|
|
|
|
|
|
40 |
#### 2.7.0 (19 November 2013)
|
41 |
|
42 |
* Improved durability of backups where the backup process can take more than 90 seconds.
|
2 |
Contributors: humanmade, willmot, joehoyle, danielbachhuber, mattheu, pauldewouters, cuvelier, tcrsavage
|
3 |
Tags: wpremote, remote administration, multiple wordpress
|
4 |
Requires at least: 3.0
|
5 |
+
Tested up to: 3.8
|
6 |
+
Stable tag: 2.7.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 |
|
37 |
|
38 |
== Changelog ==
|
39 |
|
40 |
+
#### 2.7.1 (23 December 2013)
|
41 |
+
|
42 |
+
* Bug fix: Restore plugin and theme installation mechanism.
|
43 |
+
* Bug fix: On some hosts where `getmypid()` wasn't permitted, the backup process would be prematurely reported as killed.
|
44 |
+
|
45 |
#### 2.7.0 (19 November 2013)
|
46 |
|
47 |
* Improved durability of backups where the backup process can take more than 90 seconds.
|
wprp.backups.php
CHANGED
@@ -25,8 +25,6 @@ class WPRP_Backups extends WPRP_HM_Backup {
|
|
25 |
|
26 |
if ( empty( self::$instance ) ) {
|
27 |
self::$instance = new WPRP_Backups();
|
28 |
-
self::$instance->set_is_using_file_manifest( apply_filters( 'wprp_backups_use_file_manifest', false ) );
|
29 |
-
|
30 |
}
|
31 |
|
32 |
return self::$instance;
|
@@ -529,10 +527,14 @@ class WPRP_Backups extends WPRP_HM_Backup {
|
|
529 |
private function is_backup_still_running() {
|
530 |
|
531 |
// Check whether there's supposed to be a backup in progress
|
532 |
-
if ( false
|
533 |
return false;
|
534 |
|
535 |
-
|
|
|
|
|
|
|
|
|
536 |
|
537 |
// If the heartbeat has been modified in the last 90 seconds, we might not be dead
|
538 |
if ( ( time() - $this->get_heartbeat_timestamp() ) < $time_to_wait )
|
25 |
|
26 |
if ( empty( self::$instance ) ) {
|
27 |
self::$instance = new WPRP_Backups();
|
|
|
|
|
28 |
}
|
29 |
|
30 |
return self::$instance;
|
527 |
private function is_backup_still_running() {
|
528 |
|
529 |
// Check whether there's supposed to be a backup in progress
|
530 |
+
if ( false === ( $process_id = $this->get_backup_process_id() ) )
|
531 |
return false;
|
532 |
|
533 |
+
// When safe mode is enabled, WPRP can't modify max_execution_time
|
534 |
+
if ( self::is_safe_mode_active() && ini_get( 'max_execution_time' ) )
|
535 |
+
$time_to_wait = ini_get( 'max_execution_time' );
|
536 |
+
else
|
537 |
+
$time_to_wait = 90;
|
538 |
|
539 |
// If the heartbeat has been modified in the last 90 seconds, we might not be dead
|
540 |
if ( ( time() - $this->get_heartbeat_timestamp() ) < $time_to_wait )
|
wprp.hm.backup.php
CHANGED
@@ -492,7 +492,7 @@ class WPRP_HM_Backup {
|
|
492 |
* @access public
|
493 |
*/
|
494 |
public function is_using_file_manifest() {
|
495 |
-
return (bool)$this->using_file_manifest;
|
496 |
}
|
497 |
|
498 |
/**
|
492 |
* @access public
|
493 |
*/
|
494 |
public function is_using_file_manifest() {
|
495 |
+
return apply_filters( 'hmbkp_use_file_manifest', (bool)$this->using_file_manifest );
|
496 |
}
|
497 |
|
498 |
/**
|
wprp.integration.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
function _wprp_integration_get_web_host() {
|
10 |
|
11 |
// WP Engine
|
12 |
-
if ( defined( '
|
13 |
return 'wpengine';
|
14 |
|
15 |
return 'unknown';
|
9 |
function _wprp_integration_get_web_host() {
|
10 |
|
11 |
// WP Engine
|
12 |
+
if ( defined( 'WPE_APIKEY' ) && WPE_APIKEY )
|
13 |
return 'wpengine';
|
14 |
|
15 |
return 'unknown';
|
wprp.plugins.php
CHANGED
@@ -200,6 +200,8 @@ function _wprp_install_plugin( $plugin, $args = array() ) {
|
|
200 |
include_once ABSPATH . 'wp-admin/includes/admin.php';
|
201 |
include_once ABSPATH . 'wp-admin/includes/upgrade.php';
|
202 |
include_once ABSPATH . 'wp-includes/update.php';
|
|
|
|
|
203 |
|
204 |
// Access the plugins_api() helper function
|
205 |
include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
|
200 |
include_once ABSPATH . 'wp-admin/includes/admin.php';
|
201 |
include_once ABSPATH . 'wp-admin/includes/upgrade.php';
|
202 |
include_once ABSPATH . 'wp-includes/update.php';
|
203 |
+
require_once ( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
|
204 |
+
require_once WPRP_PLUGIN_PATH . 'inc/class-wprp-plugin-upgrader-skin.php';
|
205 |
|
206 |
// Access the plugins_api() helper function
|
207 |
include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
|
wprp.themes.php
CHANGED
@@ -105,6 +105,8 @@ function _wprp_install_theme( $theme, $args = array() ) {
|
|
105 |
include_once ABSPATH . 'wp-admin/includes/admin.php';
|
106 |
include_once ABSPATH . 'wp-admin/includes/upgrade.php';
|
107 |
include_once ABSPATH . 'wp-includes/update.php';
|
|
|
|
|
108 |
|
109 |
// Access the themes_api() helper function
|
110 |
include_once ABSPATH . 'wp-admin/includes/theme-install.php';
|
105 |
include_once ABSPATH . 'wp-admin/includes/admin.php';
|
106 |
include_once ABSPATH . 'wp-admin/includes/upgrade.php';
|
107 |
include_once ABSPATH . 'wp-includes/update.php';
|
108 |
+
require_once ( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
|
109 |
+
require_once WPRP_PLUGIN_PATH . 'inc/class-wprp-theme-upgrader-skin.php';
|
110 |
|
111 |
// Access the themes_api() helper function
|
112 |
include_once ABSPATH . 'wp-admin/includes/theme-install.php';
|