Version Description
- Forced backup process to ignore cache files
Download this release
Release Info
Developer | jcpeden |
Plugin | Backup and Restore WordPress – WPBackItUp Backup Plugin |
Version | 1.1.6 |
Comparing to | |
See all releases |
Code changes from version 1.1.4 to 1.1.6
- backups/WP Backitup-Export-2013-02-13-0921.zip +0 -0
- css/admin.css +2 -2
- index.php +3 -3
- js/admin.js +2 -20
- lib/constants.php +2 -2
- lib/functions.php +1 -1
- lib/includes/backup.php +12 -1
- lib/recurse_zip.php +1 -1
- readme.txt +20 -2
- views/options.php +3 -4
backups/WP Backitup-Export-2013-02-13-0921.zip
DELETED
Binary file
|
css/admin.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/**
|
2 |
* WP Backitup Admin Control Panel Stylesheets
|
3 |
*
|
4 |
-
* @version 1.1.
|
5 |
-
* @since 1.1.
|
6 |
*/
|
7 |
|
8 |
/* Global */
|
1 |
/**
|
2 |
* WP Backitup Admin Control Panel Stylesheets
|
3 |
*
|
4 |
+
* @version 1.1.6
|
5 |
+
* @since 1.1.3
|
6 |
*/
|
7 |
|
8 |
/* Global */
|
index.php
CHANGED
@@ -7,13 +7,13 @@
|
|
7 |
* @global object $wpdb
|
8 |
*
|
9 |
* @author jcpeden
|
10 |
-
* @version 1.1.
|
11 |
*/
|
12 |
/*
|
13 |
Plugin Name: WP Backitup Lite
|
14 |
Plugin URI: http://www.wpbackitup.com
|
15 |
Description: Backup your content, settings, themes, plugins and media in just a few simple clicks.
|
16 |
-
Version: 1.1.
|
17 |
Author: John Peden
|
18 |
Author URI: http://www.johncpeden.com
|
19 |
License: GPL3
|
@@ -40,7 +40,7 @@ require_once( dirname( __FILE__ ) . '/lib/constants.php' );
|
|
40 |
class WPBackitup {
|
41 |
var $namespace = "wp-backitup-lite";
|
42 |
var $friendly_name = "WP Backitup Lite";
|
43 |
-
var $version = "1.1.
|
44 |
|
45 |
// Default plugin options
|
46 |
var $defaults = array(
|
7 |
* @global object $wpdb
|
8 |
*
|
9 |
* @author jcpeden
|
10 |
+
* @version 1.1.6
|
11 |
*/
|
12 |
/*
|
13 |
Plugin Name: WP Backitup Lite
|
14 |
Plugin URI: http://www.wpbackitup.com
|
15 |
Description: Backup your content, settings, themes, plugins and media in just a few simple clicks.
|
16 |
+
Version: 1.1.6
|
17 |
Author: John Peden
|
18 |
Author URI: http://www.johncpeden.com
|
19 |
License: GPL3
|
40 |
class WPBackitup {
|
41 |
var $namespace = "wp-backitup-lite";
|
42 |
var $friendly_name = "WP Backitup Lite";
|
43 |
+
var $version = "1.1.6";
|
44 |
|
45 |
// Default plugin options
|
46 |
var $defaults = array(
|
js/admin.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/**
|
2 |
* WP Backitup Admin Control Panel JavaScripts
|
3 |
*
|
4 |
-
* @version 1.1.
|
5 |
-
* @since 1.1.
|
6 |
*/
|
7 |
|
8 |
(function($){
|
@@ -48,22 +48,4 @@
|
|
48 |
$("#php").html(response); //Return PHP messages, used for development
|
49 |
});
|
50 |
})
|
51 |
-
//execute restore on button click
|
52 |
-
$("#restore-form").submit(function() {
|
53 |
-
$('.restore-icon').css('visibility','visible');
|
54 |
-
$("#status").empty();
|
55 |
-
setInterval(display_log, 1000);
|
56 |
-
$("#restore-form").attr("target","upload_target");
|
57 |
-
$("#upload_target").load(function (){
|
58 |
-
importRestore();
|
59 |
-
});
|
60 |
-
});
|
61 |
-
|
62 |
-
//define importRestore function
|
63 |
-
function importRestore() {
|
64 |
-
var ret = frames['upload_target'].document.getElementsByTagName("body")[0].innerHTML; //process upload
|
65 |
-
$("#php").html(ret); //Return PHP messages, used for development
|
66 |
-
clearInterval(display_log);
|
67 |
-
$('.restore-icon').fadeOut(1000);
|
68 |
-
}
|
69 |
})(jQuery);
|
1 |
/**
|
2 |
* WP Backitup Admin Control Panel JavaScripts
|
3 |
*
|
4 |
+
* @version 1.1.6
|
5 |
+
* @since 1.1.3
|
6 |
*/
|
7 |
|
8 |
(function($){
|
48 |
$("#php").html(response); //Return PHP messages, used for development
|
49 |
});
|
50 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
})(jQuery);
|
lib/constants.php
CHANGED
@@ -5,12 +5,12 @@
|
|
5 |
* @package WPBackitup
|
6 |
*
|
7 |
* @author jcpeden
|
8 |
-
* @version 1.1.
|
9 |
* @since 1.1.3
|
10 |
*/
|
11 |
|
12 |
// The current version of this plugin
|
13 |
-
if( !defined( 'WPBACKITUP_VERSION' ) ) define( 'WPBACKITUP_VERSION', '1.1.
|
14 |
|
15 |
// The directory the plugin resides in
|
16 |
if( !defined( 'WPBACKITUP_DIRNAME' ) ) define( 'WPBACKITUP_DIRNAME', dirname( dirname( __FILE__ ) ) );
|
5 |
* @package WPBackitup
|
6 |
*
|
7 |
* @author jcpeden
|
8 |
+
* @version 1.1.6
|
9 |
* @since 1.1.3
|
10 |
*/
|
11 |
|
12 |
// The current version of this plugin
|
13 |
+
if( !defined( 'WPBACKITUP_VERSION' ) ) define( 'WPBACKITUP_VERSION', '1.1.5' );
|
14 |
|
15 |
// The directory the plugin resides in
|
16 |
if( !defined( 'WPBACKITUP_DIRNAME' ) ) define( 'WPBACKITUP_DIRNAME', dirname( dirname( __FILE__ ) ) );
|
lib/functions.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package WP Backitup Lite
|
6 |
*
|
7 |
* @author jcpeden
|
8 |
-
* @version 1.1.
|
9 |
* @since 1.1.3
|
10 |
*/
|
11 |
|
5 |
* @package WP Backitup Lite
|
6 |
*
|
7 |
* @author jcpeden
|
8 |
+
* @version 1.1.6
|
9 |
* @since 1.1.3
|
10 |
*/
|
11 |
|
lib/includes/backup.php
CHANGED
@@ -1,4 +1,15 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
//limit process to 15 minutes
|
3 |
@set_time_limit(900);
|
4 |
|
@@ -36,7 +47,7 @@ if(!is_writeable(WPBACKITUP_DIRNAME ."/backups/")) {
|
|
36 |
//Backup content to project dir
|
37 |
fwrite($fh, '<li>Backing up your files...');
|
38 |
//Backup with copy
|
39 |
-
if(recursive_copy($wp_content_path, $backup_project_path, $ignore = array( 'cgi-bin','.','..','._',$backup_project_dirname,'backupbuddy_backups','*.zip' ) ) ) {
|
40 |
fwrite($fh, 'Done!</li>');
|
41 |
} else {
|
42 |
fwrite($fh, '</li><li class="error">Unable to backup your files. Please try again.</li></ul>');
|
1 |
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Constants used by this plugin
|
5 |
+
*
|
6 |
+
* @package WP Backitup Pro
|
7 |
+
*
|
8 |
+
* @author jcpeden
|
9 |
+
* @version 1.1.6
|
10 |
+
* @since 1.1.3
|
11 |
+
*/
|
12 |
+
|
13 |
//limit process to 15 minutes
|
14 |
@set_time_limit(900);
|
15 |
|
47 |
//Backup content to project dir
|
48 |
fwrite($fh, '<li>Backing up your files...');
|
49 |
//Backup with copy
|
50 |
+
if(recursive_copy($wp_content_path, $backup_project_path, $ignore = array( 'cgi-bin','.','..','._',$backup_project_dirname,'backupbuddy_backups','*.zip','cache' ) ) ) {
|
51 |
fwrite($fh, 'Done!</li>');
|
52 |
} else {
|
53 |
fwrite($fh, '</li><li class="error">Unable to backup your files. Please try again.</li></ul>');
|
lib/recurse_zip.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php
|
2 |
* Recurse zip function
|
3 |
*
|
4 |
* @package WP Backitup Pro
|
5 |
*
|
6 |
* @author jcpeden
|
7 |
* @version 1.1.6
|
8 |
* @since 1.1.3
|
9 |
*/
|
1 |
+
<?php
|
2 |
* Recurse zip function
|
3 |
*
|
4 |
* @package WP Backitup Pro
|
5 |
*
|
6 |
* @author jcpeden
|
7 |
* @version 1.1.6
|
8 |
* @since 1.1.3
|
9 |
*/
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: jcpeden
|
|
3 |
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
|
6 |
-
Tested up to: 3.5
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -96,6 +96,15 @@ Yes.
|
|
96 |
|
97 |
== Changelog ==
|
98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
= 1.1.3 =
|
100 |
* Re-wrote plugin in OOP, added option to disable Presstrends tracking code.
|
101 |
|
@@ -140,6 +149,15 @@ Yes.
|
|
140 |
|
141 |
== Upgrade Notice ==
|
142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
= 1.1.3 =
|
144 |
* Non-critical upgrade. Re-wrote plugin in object-oriented PHP.
|
145 |
|
3 |
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
|
6 |
+
Tested up to: 3.5.1
|
7 |
+
Stable tag: 1.1.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
+
= 1.1.6 =
|
100 |
+
* Forced backup process to ignore cache files
|
101 |
+
|
102 |
+
= 1.1.5 =
|
103 |
+
* Fixed minor bugs in the code.
|
104 |
+
|
105 |
+
= 1.1.4 =
|
106 |
+
* Fixed minor bugs in tracking code and options.
|
107 |
+
|
108 |
= 1.1.3 =
|
109 |
* Re-wrote plugin in OOP, added option to disable Presstrends tracking code.
|
110 |
|
149 |
|
150 |
== Upgrade Notice ==
|
151 |
|
152 |
+
= 1.1.6 =
|
153 |
+
* Recommended upgrade. Backup process faster and more stable.
|
154 |
+
|
155 |
+
= 1.1.5 =
|
156 |
+
* Non-critical upgrade. Fixed minor bugs in code.
|
157 |
+
|
158 |
+
= 1.1.4 =
|
159 |
+
* Non-critical upgrade. Fixed bugs in code.
|
160 |
+
|
161 |
= 1.1.3 =
|
162 |
* Non-critical upgrade. Re-wrote plugin in object-oriented PHP.
|
163 |
|
views/options.php
CHANGED
@@ -1,11 +1,10 @@
|
|
1 |
-
<script type="text/javascript">var __namespace = '<?php echo $namespace; ?>';</script>
|
2 |
<div class="wrap">
|
3 |
<div id="wp-backitup-icon" class="icon32"><img src="<?php echo plugin_dir_url(dirname(__FILE__) ); ?>images/icon32.png" alt="WP Backitup Icon" height="32" width="32" /></div>
|
4 |
<h2><?php echo $page_title; ?></h2>
|
5 |
<div id="content">
|
6 |
-
<h3
|
7 |
-
<p
|
8 |
-
<p><a href="#" class="backup-button button-primary"><?php _e( "Backup", $namespace ) ?></a><img class="backup-icon status-icon" src="<?php echo WPBACKITUP_URLPATH. "/images/loader.gif"; ?>" height="16" width="16" /></p>
|
9 |
<h3>Download</h3>
|
10 |
<p><div id="download-link"></div></p>
|
11 |
<h3>Status</h3>
|
|
|
1 |
<div class="wrap">
|
2 |
<div id="wp-backitup-icon" class="icon32"><img src="<?php echo plugin_dir_url(dirname(__FILE__) ); ?>images/icon32.png" alt="WP Backitup Icon" height="32" width="32" /></div>
|
3 |
<h2><?php echo $page_title; ?></h2>
|
4 |
<div id="content">
|
5 |
+
<h3><?php _e('Backup', $this->namespace ); ?></h3>
|
6 |
+
<p><?php _e('Create a backup file of this site\'s content and settings.', $this->namespace ); ?></p>
|
7 |
+
<p><a href="#" class="backup-button button-primary"><?php _e( "Backup", $this->namespace ); ?> ) ?></a><img class="backup-icon status-icon" src="<?php echo WPBACKITUP_URLPATH. "/images/loader.gif"; ?>" height="16" width="16" /></p>
|
8 |
<h3>Download</h3>
|
9 |
<p><div id="download-link"></div></p>
|
10 |
<h3>Status</h3>
|