InfiniteWP Client - Version 1.3.0

Version Description

  • Improvement: Multi-call backup & upload.
  • Fix: Fatal error Call to undefined function get_plugin_data() while client plugin update.
  • Fix: Bug fixes.
Download this release

Release Info

Developer infinitewp
Plugin Icon 128x128 InfiniteWP Client
Version 1.3.0
Comparing to
See all releases

Code changes from version 1.3.1 to 1.3.0

Files changed (3) hide show
  1. backup.class.multicall.php +1 -48
  2. init.php +3 -3
  3. readme.txt +0 -5
backup.class.multicall.php CHANGED
@@ -2673,8 +2673,7 @@ function iwp_mmb_direct_to_any_copy($source, $destination, $overwrite = false, $
2673
  }
2674
 
2675
 
2676
-
2677
- function restore($args)
2678
  {
2679
  global $wpdb, $wp_filesystem;
2680
  if (empty($args)) {
@@ -2866,52 +2865,6 @@ function iwp_mmb_direct_to_any_copy($source, $destination, $overwrite = false, $
2866
  // do process
2867
  //$temp_dir = get_temp_dir();
2868
  $temp_dir = PCLZIP_TEMPORARY_DIR;
2869
-
2870
-
2871
-
2872
- if(file_exists(PCLZIP_TEMPORARY_DIR) && is_dir(PCLZIP_TEMPORARY_DIR))
2873
- {
2874
- //
2875
- }
2876
- else
2877
- {
2878
- if(file_exists(dirname(PCLZIP_TEMPORARY_DIR)) && is_dir(dirname(PCLZIP_TEMPORARY_DIR))){
2879
- @mkdir(PCLZIP_TEMPORARY_DIR, 0755, true);
2880
- }
2881
- else{
2882
- @mkdir(dirname(PCLZIP_TEMPORARY_DIR), 0755, true);
2883
- @mkdir(PCLZIP_TEMPORARY_DIR, 0755, true);
2884
- }
2885
-
2886
- }
2887
- if(is_writable(PCLZIP_TEMPORARY_DIR))
2888
- {
2889
- @file_put_contents(PCLZIP_TEMPORARY_DIR . '/index.php', ''); //safe
2890
- }
2891
- else
2892
- {
2893
- $chmod = chmod(PCLZIP_TEMPORARY_DIR, 777);
2894
- if(is_writable(PCLZIP_TEMPORARY_DIR)){
2895
- @file_put_contents(PCLZIP_TEMPORARY_DIR . '/index.php', ''); //safe
2896
- }
2897
-
2898
- }
2899
-
2900
- if(is_writable(PCLZIP_TEMPORARY_DIR))
2901
- {
2902
- $temp_dir = PCLZIP_TEMPORARY_DIR;
2903
- }
2904
- else{
2905
- $temp_dir = get_temp_dir();
2906
- if(!is_writable($temp_dir)){
2907
- return array(
2908
- 'error' => 'Temporary directory is not writable. Please set 777 permission for '.PCLZIP_TEMPORARY_DIR.' and try again.', 'error_code' => 'pclzip_temp_dir_not_writable_please_set_777'
2909
- );
2910
- }
2911
- }
2912
-
2913
-
2914
-
2915
  $new_temp_folder = untrailingslashit($temp_dir);
2916
  $temp_uniq = md5(microtime(1));//should be random
2917
  while (is_dir($new_temp_folder .'/'. $temp_uniq )) {
2673
  }
2674
 
2675
 
2676
+ function restore($args)
 
2677
  {
2678
  global $wpdb, $wp_filesystem;
2679
  if (empty($args)) {
2865
  // do process
2866
  //$temp_dir = get_temp_dir();
2867
  $temp_dir = PCLZIP_TEMPORARY_DIR;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2868
  $new_temp_folder = untrailingslashit($temp_dir);
2869
  $temp_uniq = md5(microtime(1));//should be random
2870
  while (is_dir($new_temp_folder .'/'. $temp_uniq )) {
init.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: InfiniteWP - Client
4
  Plugin URI: http://infinitewp.com/
5
  Description: This is the client plugin of InfiniteWP that communicates with the InfiniteWP Admin panel.
6
  Author: Revmakx
7
- Version: 1.3.1
8
  Author URI: http://www.revmakx.com
9
  */
10
  /************************************************************
@@ -26,7 +26,7 @@ Author URI: http://www.revmakx.com
26
  **************************************************************/
27
 
28
  if(!defined('IWP_MMB_CLIENT_VERSION'))
29
- define('IWP_MMB_CLIENT_VERSION', '1.3.1');
30
 
31
 
32
 
@@ -190,7 +190,7 @@ if( !function_exists ('iwp_mmb_parse_request')) {
190
  iwp_mmb_response($auth, false);
191
  }
192
  } else {
193
- //IWP_MMB_Stats::set_hit_count();
194
  }
195
  ob_end_clean();
196
  }
4
  Plugin URI: http://infinitewp.com/
5
  Description: This is the client plugin of InfiniteWP that communicates with the InfiniteWP Admin panel.
6
  Author: Revmakx
7
+ Version: 1.3.0
8
  Author URI: http://www.revmakx.com
9
  */
10
  /************************************************************
26
  **************************************************************/
27
 
28
  if(!defined('IWP_MMB_CLIENT_VERSION'))
29
+ define('IWP_MMB_CLIENT_VERSION', '1.3.0');
30
 
31
 
32
 
190
  iwp_mmb_response($auth, false);
191
  }
192
  } else {
193
+ IWP_MMB_Stats::set_hit_count();
194
  }
195
  ob_end_clean();
196
  }
readme.txt CHANGED
@@ -48,11 +48,6 @@ Credits: [Vladimir Prelovac](http://prelovac.com/vladimir) for his worker plugin
48
 
49
  == Changelog ==
50
 
51
- = 1.3.1 =
52
- * Fix: "Unable to create a temporary directory" while cloning to exisiting site or restoring.
53
- * Fix: Disabled tracking hit count.
54
-
55
-
56
  = 1.3.0 =
57
  * Improvement: Multi-call backup & upload.
58
  * Fix: Fatal error Call to undefined function get_plugin_data() while client plugin update.
48
 
49
  == Changelog ==
50
 
 
 
 
 
 
51
  = 1.3.0 =
52
  * Improvement: Multi-call backup & upload.
53
  * Fix: Fatal error Call to undefined function get_plugin_data() while client plugin update.