BackUpWordPress - Version 2.6.2

Version Description

Download this release

Release Info

Developer willmot
Plugin Icon 128x128 BackUpWordPress
Version 2.6.2
Comparing to
See all releases

Code changes from version 2.6.1 to 2.6.2

Files changed (3) hide show
  1. backupwordpress.php +1 -1
  2. hm-backup/hm-backup.php +0 -5
  3. readme.txt +5 -1
backupwordpress.php CHANGED
@@ -5,7 +5,7 @@ Plugin Name: BackUpWordPress
5
  Plugin URI: http://bwp.hmn.md/
6
  Description: Simple automated backups of your WordPress powered website. Once activated you'll find me under <strong>Tools &rarr; Backups</strong>.
7
  Author: Human Made Limited
8
- Version: 2.6.1
9
  Author URI: http://hmn.md/
10
  */
11
 
5
  Plugin URI: http://bwp.hmn.md/
6
  Description: Simple automated backups of your WordPress powered website. Once activated you'll find me under <strong>Tools &rarr; Backups</strong>.
7
  Author: Human Made Limited
8
+ Version: 2.6.2
9
  Author URI: http://hmn.md/
10
  */
11
 
hm-backup/hm-backup.php CHANGED
@@ -208,11 +208,6 @@ class HM_Backup {
208
 
209
  $home_path = ABSPATH;
210
 
211
- // Attempt to guess the home path based on the location of wp-config.php
212
- if ( ! file_exists( ABSPATH . 'wp-config.php' ) ) {
213
- $home_path = trailingslashit( dirname( ABSPATH ) );
214
- }
215
-
216
  // If site_url contains home_url and they differ then assume WordPress is installed in a sub directory
217
  if ( $home_url !== $site_url && strpos( $site_url, $home_url ) === 0 )
218
  $home_path = trailingslashit( substr( self::conform_dir( ABSPATH ), 0, strrpos( self::conform_dir( ABSPATH ), str_replace( $home_url, '', $site_url ) ) ) );
208
 
209
  $home_path = ABSPATH;
210
 
 
 
 
 
 
211
  // If site_url contains home_url and they differ then assume WordPress is installed in a sub directory
212
  if ( $home_url !== $site_url && strpos( $site_url, $home_url ) === 0 )
213
  $home_path = trailingslashit( substr( self::conform_dir( ABSPATH ), 0, strrpos( self::conform_dir( ABSPATH ), str_replace( $home_url, '', $site_url ) ) ) );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: humanmade, willmot, pauldewouters, joehoyle, mattheu, tcrsavage, c
3
  Tags: back up, backup, backups, database, zip, db, files, archive, wp-cli, humanmade
4
  Requires at least: 3.7.3
5
  Tested up to: 3.9.1
6
- Stable tag: 2.6.1
7
 
8
  Simple automated backups of your WordPress powered website.
9
 
@@ -107,6 +107,10 @@ You can also tweet <a href="http://twitter.com/humanmadeltd">@humanmadeltd</a> o
107
 
108
  == Changelog ==
109
 
 
 
 
 
110
  #### 2.6.1
111
 
112
  * Bump minimum WP requirement to 3.7.3, the latest security release on the 3.7 branch.
3
  Tags: back up, backup, backups, database, zip, db, files, archive, wp-cli, humanmade
4
  Requires at least: 3.7.3
5
  Tested up to: 3.9.1
6
+ Stable tag: 2.6.2
7
 
8
  Simple automated backups of your WordPress powered website.
9
 
107
 
108
  == Changelog ==
109
 
110
+ #### 2.6.2
111
+
112
+ * Reverts a change to how the home path is calculated as it caused issues on installs where wp-config.php was stored outside of web root. Props to @mikelittle for the bug report.
113
+
114
  #### 2.6.1
115
 
116
  * Bump minimum WP requirement to 3.7.3, the latest security release on the 3.7 branch.