BackUpWordPress - Version 0.2.5

Version Description

Download this release

Release Info

Developer wpdprx
Plugin Icon 128x128 BackUpWordPress
Version 0.2.5
Comparing to
See all releases

Code changes from version 0.2.4 to 0.2.5

Files changed (2) hide show
  1. backupwordpress.php +3 -3
  2. functions.php +2 -1
backupwordpress.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: BackUpWordPress
4
  Plugin URI: http://wordpress.designpraxis.at
5
  Description: Manage <a href="admin.php?page=backupwordpress/backupwordpress.php">WordPress Backups</a>. Beta Release. Please help testing and give me feedback under the comments section of <a href="http://wordpress.designpraxis.at/plugins/backupwordpress/">the Plugin page</a>. Backup DB, Files & Folders, use .tar.gz, .zip, Exclude List, etc.
6
  Author: Roland Rust
7
- Version: 0.2.4
8
  Author URI: http://wordpress.designpraxis.at
9
  */
10
 
@@ -24,7 +24,7 @@ Author URI: http://wordpress.designpraxis.at
24
  along with this program; if not, write to the Free Software
25
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
  */
27
- //return;
28
  $GLOBALS['bkpwp_plugin_path'] = ABSPATH."wp-content/plugins/backupwordpress/";
29
  $GLOBALS['bkpwp_version'] = "0.2.4";
30
 
@@ -59,7 +59,7 @@ add_action('bkpwp_finish_bkpwp_hook','bkpwp_finish_bkpwp');
59
  if (eregi("backupwordpress",$_REQUEST['page']) || eregi("bkpwp",$_REQUEST['page'])) {
60
  add_action('admin_head', 'bkpwp_sajax_js');
61
  }
62
- if (eregi("backupwordpress",$_REQUEST['page']) || eregi("bkpwp",$_REQUEST['page']) || $_SERVER['REQUEST_URI'] == "/wp-admin/index.php") {
63
  add_action('admin_head', 'bkpwp_load_css_and_js');
64
  }
65
 
4
  Plugin URI: http://wordpress.designpraxis.at
5
  Description: Manage <a href="admin.php?page=backupwordpress/backupwordpress.php">WordPress Backups</a>. Beta Release. Please help testing and give me feedback under the comments section of <a href="http://wordpress.designpraxis.at/plugins/backupwordpress/">the Plugin page</a>. Backup DB, Files & Folders, use .tar.gz, .zip, Exclude List, etc.
6
  Author: Roland Rust
7
+ Version: 0.2.5
8
  Author URI: http://wordpress.designpraxis.at
9
  */
10
 
24
  along with this program; if not, write to the Free Software
25
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
  */
27
+
28
  $GLOBALS['bkpwp_plugin_path'] = ABSPATH."wp-content/plugins/backupwordpress/";
29
  $GLOBALS['bkpwp_version'] = "0.2.4";
30
 
59
  if (eregi("backupwordpress",$_REQUEST['page']) || eregi("bkpwp",$_REQUEST['page'])) {
60
  add_action('admin_head', 'bkpwp_sajax_js');
61
  }
62
+ if (eregi("backupwordpress",$_REQUEST['page']) || eregi("bkpwp",$_REQUEST['page']) || $_SERVER['REQUEST_URI'] == "/wp-admin/index.php" || $_SERVER['REQUEST_URI'] == "/wp-admin/") {
63
  add_action('admin_head', 'bkpwp_load_css_and_js');
64
  }
65
 
functions.php CHANGED
@@ -113,7 +113,8 @@ function bkpwp_proceed_unfinished() {
113
  return;
114
  }
115
  // wait a little
116
- if (($status['time']+30) > time()) {
 
117
  return;
118
  }
119
 
113
  return;
114
  }
115
  // wait a little
116
+ $timeout = ini_get("max_execution_time")-5;
117
+ if (($status['time']+$timeout) > time()) {
118
  return;
119
  }
120