The WP Remote WordPress Plugin - Version 2.4.8

Version Description

Download this release

Release Info

Developer willmot
Plugin Icon 128x128 The WP Remote WordPress Plugin
Version 2.4.8
Comparing to
See all releases

Code changes from version 2.4.7 to 2.4.8

backupwordpress/admin/actions.php CHANGED
@@ -80,7 +80,7 @@ function hmbkp_request_download_backup() {
80
 
81
  $url = str_replace( HM_Backup::conform_dir( HM_Backup::get_home_path() ), home_url(), trailingslashit( dirname( base64_decode( $_GET['hmbkp_download_backup'] ) ) ) ) . urlencode( pathinfo( base64_decode( $_GET['hmbkp_download_backup'] ), PATHINFO_BASENAME ) );
82
 
83
- if ( ( require_once( ABSPATH . '/wp-admin/includes/misc.php' ) ) && got_mod_rewrite() ) {
84
 
85
  // Force the .htaccess to be rebuilt
86
  if ( file_exists( hmbkp_path() . '/.htaccess' ) )
80
 
81
  $url = str_replace( HM_Backup::conform_dir( HM_Backup::get_home_path() ), home_url(), trailingslashit( dirname( base64_decode( $_GET['hmbkp_download_backup'] ) ) ) ) . urlencode( pathinfo( base64_decode( $_GET['hmbkp_download_backup'] ), PATHINFO_BASENAME ) );
82
 
83
+ if ( apply_filters( 'got_rewrite', apache_mod_loaded( 'mod_rewrite', true ) ) ) {
84
 
85
  // Force the .htaccess to be rebuilt
86
  if ( file_exists( hmbkp_path() . '/.htaccess' ) )
backupwordpress/assets/hmbkp.js CHANGED
@@ -29,7 +29,7 @@ jQuery( document ).ready( function( $ ) {
29
 
30
  $( '.hmbkp-tabs' ).tabs();
31
 
32
- if ( $( '.hmbkp-form p.submit:contains(\'Update\')' ).size() )
33
  $( '<button type="button" class="button-secondary hmbkp-fancybox-close">' + objectL10n.cancel + '</button></p>' ).appendTo( '.hmbkp-form p.submit' );
34
 
35
  }
29
 
30
  $( '.hmbkp-tabs' ).tabs();
31
 
32
+ if ( $( ".hmbkp-form p.submit:contains('" + objectL10n.update + "')" ).size() )
33
  $( '<button type="button" class="button-secondary hmbkp-fancybox-close">' + objectL10n.cancel + '</button></p>' ).appendTo( '.hmbkp-form p.submit' );
34
 
35
  }
backupwordpress/functions/core.php CHANGED
@@ -286,7 +286,7 @@ function hmbkp_path() {
286
  file_put_contents( $index, '' );
287
 
288
  // Protect the directory with a .htaccess file on Apache servers
289
- if ( ( require_once( ABSPATH . '/wp-admin/includes/misc.php' ) ) && got_mod_rewrite() ) {
290
 
291
  $htaccess = $path . '/.htaccess';
292
 
@@ -299,8 +299,7 @@ function hmbkp_path() {
299
  $contents[] = '</IfModule>';
300
  $contents[] = '';
301
 
302
- if ( ! file_exists( $htaccess ) && is_writable( $path ) )
303
- insert_with_markers( $htaccess, 'BackUpWordPress', $contents );
304
 
305
  }
306
 
286
  file_put_contents( $index, '' );
287
 
288
  // Protect the directory with a .htaccess file on Apache servers
289
+ if ( apply_filters( 'got_rewrite', apache_mod_loaded( 'mod_rewrite', true ) ) && function_exists( 'insert_with_markers' ) && ! file_exists( $htaccess ) && is_writable( $path ) ) {
290
 
291
  $htaccess = $path . '/.htaccess';
292
 
299
  $contents[] = '</IfModule>';
300
  $contents[] = '';
301
 
302
+ insert_with_markers( $htaccess, 'BackUpWordPress', $contents );
 
303
 
304
  }
305
 
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
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.4.8
7
  Author: Human Made Limited
8
  Author URI: http://hmn.md/
9
  */
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
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
 
@@ -31,6 +31,10 @@ You can email us at support@wpremote.com for support.
31
 
32
  == Changelog ==
33
 
 
 
 
 
34
  #### 2.4.7
35
 
36
  * Update to BackUpWordPress 2.1
3
  Tags: wpremote, remote administration, multiple wordpress
4
  Requires at least: 2.9
5
  Tested up to: 3.5
6
+ Stable tag: 2.4.8
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
 
31
 
32
  == Changelog ==
33
 
34
+ #### 2.4.8
35
+
36
+ * Pull in latest BackUpWordPress which fixes a possible Fatal error caused by misc.php being included to early.
37
+
38
  #### 2.4.7
39
 
40
  * Update to BackUpWordPress 2.1