Version Description
- Fix to log file cleanup error
Download this release
Release Info
Developer | cssimmon |
Plugin | Backup and Restore WordPress – WPBackItUp Backup Plugin |
Version | 1.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.7.0 to 1.7.1
- lib/includes/class-filesystem.php +3 -3
- readme.txt +4 -1
- wp-backitup.php +2 -2
lib/includes/class-filesystem.php
CHANGED
@@ -249,8 +249,8 @@ class WPBackItUp_FileSystem {
|
|
249 |
}
|
250 |
else{
|
251 |
$log_file_path = str_replace('.zip','.log',$val);
|
252 |
-
|
253 |
-
unlink($log_file_path);
|
254 |
$this->logger->log('(FileSytem.purge_FilesByDate) Delete File:)' .$val);
|
255 |
|
256 |
}
|
@@ -282,7 +282,7 @@ class WPBackItUp_FileSystem {
|
|
282 |
$date_diff = $current_date->diff($file_mod_date);
|
283 |
|
284 |
if($date_diff->days>=$days){
|
285 |
-
unlink($file);
|
286 |
$this->logger->log('Delete:' . $file);
|
287 |
}
|
288 |
else{
|
249 |
}
|
250 |
else{
|
251 |
$log_file_path = str_replace('.zip','.log',$val);
|
252 |
+
if (file_exists($val)) unlink($val);
|
253 |
+
if (file_exists($log_file_path)) unlink($log_file_path);
|
254 |
$this->logger->log('(FileSytem.purge_FilesByDate) Delete File:)' .$val);
|
255 |
|
256 |
}
|
282 |
$date_diff = $current_date->diff($file_mod_date);
|
283 |
|
284 |
if($date_diff->days>=$days){
|
285 |
+
if (file_exists($file)) unlink($file);
|
286 |
$this->logger->log('Delete:' . $file);
|
287 |
}
|
288 |
else{
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.wpbackitup.com
|
|
4 |
Tags: backup wordpress, database backup, backup database, download database, backup and restore, restoring wordpress, restore wordpress, restore wordpress backup
|
5 |
Requires at least: 3.4.2
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -91,6 +91,9 @@ Yes.
|
|
91 |
3. When the backup has been created, click the download link to access a zipped backup of your site.
|
92 |
|
93 |
== Changelog ==
|
|
|
|
|
|
|
94 |
= 1.7.0 =
|
95 |
* Security enhancements
|
96 |
* Major user interface improvements
|
4 |
Tags: backup wordpress, database backup, backup database, download database, backup and restore, restoring wordpress, restore wordpress, restore wordpress backup
|
5 |
Requires at least: 3.4.2
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 1.7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
91 |
3. When the backup has been created, click the download link to access a zipped backup of your site.
|
92 |
|
93 |
== Changelog ==
|
94 |
+
= 1.7.1 =
|
95 |
+
* Fix to log file cleanup error
|
96 |
+
|
97 |
= 1.7.0 =
|
98 |
* Security enhancements
|
99 |
* Major user interface improvements
|
wp-backitup.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
Plugin Name: WP Backitup
|
13 |
Plugin URI: http://www.wpbackitup.com
|
14 |
Description: Backup your content, settings, themes, plugins and media in just a few simple clicks.
|
15 |
-
Version: 1.7.
|
16 |
Author: Chris Simmons
|
17 |
Author URI: http://www.wpbackitup.com
|
18 |
License: GPL3
|
@@ -34,7 +34,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
34 |
*/
|
35 |
|
36 |
define( 'WPBACKITUP__NAMESPACE', 'wp-backitup' );
|
37 |
-
define( 'WPBACKITUP__VERSION', '1.7.
|
38 |
define( 'WPBACKITUP__DEBUG', false );
|
39 |
define( 'WPBACKITUP__MINIMUM_WP_VERSION', '3.0' );
|
40 |
define( 'WPBACKITUP__ITEM_NAME', 'WP Backitup' );
|
12 |
Plugin Name: WP Backitup
|
13 |
Plugin URI: http://www.wpbackitup.com
|
14 |
Description: Backup your content, settings, themes, plugins and media in just a few simple clicks.
|
15 |
+
Version: 1.7.1
|
16 |
Author: Chris Simmons
|
17 |
Author URI: http://www.wpbackitup.com
|
18 |
License: GPL3
|
34 |
*/
|
35 |
|
36 |
define( 'WPBACKITUP__NAMESPACE', 'wp-backitup' );
|
37 |
+
define( 'WPBACKITUP__VERSION', '1.7.1');
|
38 |
define( 'WPBACKITUP__DEBUG', false );
|
39 |
define( 'WPBACKITUP__MINIMUM_WP_VERSION', '3.0' );
|
40 |
define( 'WPBACKITUP__ITEM_NAME', 'WP Backitup' );
|