ManageWP Worker - Version 3.9.5

Version Description

  • Now supporting scheduled backups to Amazon S3 and Dropbox
  • Revamped cloning procedure
  • You can now have sites in different colors
  • W3 Total Cache comptability improved
Download this release

Release Info

Developer freediver
Plugin Icon 128x128 ManageWP Worker
Version 3.9.5
Comparing to
See all releases

Code changes from version 3.9.4 to 3.9.5

Files changed (4) hide show
  1. backup.class.php +5 -5
  2. init.php +7 -5
  3. readme.txt +5 -4
  4. version +1 -1
backup.class.php CHANGED
@@ -111,8 +111,8 @@ class MMB_Backup extends MMB_Core
111
 
112
 
113
  //try increase memory limit
114
- @ini_set('memory_limit', '300M');
115
- @set_time_limit(300); //five minutes
116
 
117
  //Remove old backup(s)
118
  if($type == 'manual'){
@@ -1037,7 +1037,7 @@ class MMB_Backup extends MMB_Core
1037
 
1038
  if($schedule[1]) { $delay_time = $schedule[1] * 60;}
1039
 
1040
- $current_hour = date("h");
1041
  $schedule_hour = $schedule[0];
1042
  if($current_hour >= $schedule_hour)
1043
  $time = mktime($schedule_hour, 0, 0, date("m"), date("d")+1, date("Y"));
@@ -1050,7 +1050,7 @@ class MMB_Backup extends MMB_Core
1050
  if($schedule[2]) { $delay_time = $schedule[2] * 60;}
1051
  $current_weekday = date('w');
1052
  $schedule_weekday = $schedule[1];
1053
- $current_hour = date("h");
1054
  $schedule_hour = $schedule[0];
1055
 
1056
  if($current_weekday > $schedule_weekday)
@@ -1074,7 +1074,7 @@ class MMB_Backup extends MMB_Core
1074
  if($schedule[2]) { $delay_time = $schedule[2] * 60;}
1075
  $current_monthday = date('j');
1076
  $schedule_monthday = $schedule[1];
1077
- $current_hour = date("h");
1078
  $schedule_hour = $schedule[0];
1079
 
1080
  if($current_monthday > $schedule_monthday){
111
 
112
 
113
  //try increase memory limit
114
+ @ini_set('memory_limit', '1000M');
115
+ @set_time_limit(600); //ten minutes
116
 
117
  //Remove old backup(s)
118
  if($type == 'manual'){
1037
 
1038
  if($schedule[1]) { $delay_time = $schedule[1] * 60;}
1039
 
1040
+ $current_hour = date("H");
1041
  $schedule_hour = $schedule[0];
1042
  if($current_hour >= $schedule_hour)
1043
  $time = mktime($schedule_hour, 0, 0, date("m"), date("d")+1, date("Y"));
1050
  if($schedule[2]) { $delay_time = $schedule[2] * 60;}
1051
  $current_weekday = date('w');
1052
  $schedule_weekday = $schedule[1];
1053
+ $current_hour = date("H");
1054
  $schedule_hour = $schedule[0];
1055
 
1056
  if($current_weekday > $schedule_weekday)
1074
  if($schedule[2]) { $delay_time = $schedule[2] * 60;}
1075
  $current_monthday = date('j');
1076
  $schedule_monthday = $schedule[1];
1077
+ $current_hour = date("H");
1078
  $schedule_hour = $schedule[0];
1079
 
1080
  if($current_monthday > $schedule_monthday){
init.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: ManageWP - Worker
4
  Plugin URI: http://managewp.com/
5
  Description: Manage all your blogs from one dashboard. Visit <a href="http://managewp.com">ManageWP.com</a> to sign up.
6
  Author: Prelovac Media
7
- Version: 3.9.4
8
  Author URI: http://www.prelovac.com
9
  */
10
 
@@ -20,7 +20,7 @@ Author URI: http://www.prelovac.com
20
  **************************************************************/
21
 
22
 
23
- define('MMB_WORKER_VERSION', '3.9.4');
24
 
25
  global $wpdb, $mmb_plugin_dir, $mmb_plugin_url;
26
 
@@ -107,15 +107,15 @@ if( !function_exists ( 'mmb_parse_request' )) {
107
  }
108
  ob_start();
109
 
110
- global $mmb_core, $mmb_actions, $new_actions, $wp_db_version, $wpmu_version;
111
 
112
  $data = base64_decode($HTTP_RAW_POST_DATA);
113
  if ($data)
114
  $num = @extract(unserialize($data));
115
 
116
  if ($action) {
117
-
118
- @set_time_limit(300);
119
 
120
  update_option('mwp_iframe_options_header', microtime(true));
121
  // mmb_response($mmb_actions, false);
@@ -593,5 +593,7 @@ if(!function_exists('mmb_more_reccurences')){
593
  global $mmb_core;
594
  $mmb_core->get_backup_instance()->check_backup_tasks();
595
  }
 
 
596
 
597
  ?>
4
  Plugin URI: http://managewp.com/
5
  Description: Manage all your blogs from one dashboard. Visit <a href="http://managewp.com">ManageWP.com</a> to sign up.
6
  Author: Prelovac Media
7
+ Version: 3.9.5
8
  Author URI: http://www.prelovac.com
9
  */
10
 
20
  **************************************************************/
21
 
22
 
23
+ define('MMB_WORKER_VERSION', '3.9.5');
24
 
25
  global $wpdb, $mmb_plugin_dir, $mmb_plugin_url;
26
 
107
  }
108
  ob_start();
109
 
110
+ global $mmb_core, $mmb_actions, $new_actions, $wp_db_version, $wpmu_version, $_wp_using_ext_object_cache;
111
 
112
  $data = base64_decode($HTTP_RAW_POST_DATA);
113
  if ($data)
114
  $num = @extract(unserialize($data));
115
 
116
  if ($action) {
117
+ $_wp_using_ext_object_cache = false;
118
+ @set_time_limit(600);
119
 
120
  update_option('mwp_iframe_options_header', microtime(true));
121
  // mmb_response($mmb_actions, false);
593
  global $mmb_core;
594
  $mmb_core->get_backup_instance()->check_backup_tasks();
595
  }
596
+
597
+
598
 
599
  ?>
readme.txt CHANGED
@@ -30,10 +30,11 @@ API for developers available at [ManageWP.com/API](http://managewp.com/api "Mana
30
 
31
  == Changelog ==
32
 
33
- = 3.9.4 =
34
- * Now supporting schedule backups to Amazon S3 and Dropbox
35
- * Revamped cloning procedure with more features
36
- * Site colors for your websites
 
37
 
38
  = 3.9.3 =
39
  * Included support for WordPress 3.2 partial updates
30
 
31
  == Changelog ==
32
 
33
+ = 3.9.5 =
34
+ * Now supporting scheduled backups to Amazon S3 and Dropbox
35
+ * Revamped cloning procedure
36
+ * You can now have sites in different colors
37
+ * W3 Total Cache comptability improved
38
 
39
  = 3.9.3 =
40
  * Included support for WordPress 3.2 partial updates
version CHANGED
@@ -1 +1 @@
1
- 3.9.4
1
+ 3.9.5