Version Description
- Charset issue fixed for restore / clone
- Dropbox improved
- Cloning URL and folder path fixed
Download this release
Release Info
Developer | infinitewp |
Plugin | InfiniteWP Client |
Version | 1.1.10 |
Comparing to | |
See all releases |
Code changes from version 1.1.9 to 1.1.10
- backup.class.php +9 -1
- init.php +2 -2
- lib/dropbox.php +1 -1
- readme.txt +6 -0
backup.class.php
CHANGED
@@ -985,7 +985,12 @@ function delete_task_now($task_name){
|
|
985 |
return array(
|
986 |
'error' => 'Error creating database backup folder (' . $db_folder . '). Make sure you have corrrect write permissions.'
|
987 |
);
|
988 |
-
|
|
|
|
|
|
|
|
|
|
|
989 |
}
|
990 |
|
991 |
$file = $db_folder . DB_NAME . '.sql';
|
@@ -1484,6 +1489,9 @@ function delete_task_now($task_name){
|
|
1484 |
|
1485 |
$this->wpdb_reconnect();
|
1486 |
global $wpdb;
|
|
|
|
|
|
|
1487 |
$current_query = '';
|
1488 |
// Read in entire file
|
1489 |
$lines = file($file_name);
|
985 |
return array(
|
986 |
'error' => 'Error creating database backup folder (' . $db_folder . '). Make sure you have corrrect write permissions.'
|
987 |
);
|
988 |
+
$db_index_file = '<?php
|
989 |
+
global $old_url, $old_file_path;
|
990 |
+
$old_url = \''.get_option('siteurl').'\';
|
991 |
+
$old_file_path = \''.ABSPATH.'\';
|
992 |
+
';
|
993 |
+
@file_put_contents(IWP_BACKUP_DIR.'/iwp_db/index.php', $db_index_file);
|
994 |
}
|
995 |
|
996 |
$file = $db_folder . DB_NAME . '.sql';
|
1489 |
|
1490 |
$this->wpdb_reconnect();
|
1491 |
global $wpdb;
|
1492 |
+
|
1493 |
+
$wpdb->query("SET NAMES 'utf8'");
|
1494 |
+
|
1495 |
$current_query = '';
|
1496 |
// Read in entire file
|
1497 |
$lines = file($file_name);
|
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.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.1.
|
30 |
|
31 |
|
32 |
if ( !defined('IWP_MMB_XFRAME_COOKIE')){
|
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.1.10
|
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.1.10');
|
30 |
|
31 |
|
32 |
if ( !defined('IWP_MMB_XFRAME_COOKIE')){
|
lib/dropbox.php
CHANGED
@@ -63,7 +63,7 @@ class Dropbox {
|
|
63 |
$uploadid=null;
|
64 |
$offset=0;
|
65 |
$ProgressFunction=null;
|
66 |
-
while ($data=fread($file_handle,
|
67 |
iwp_mmb_auto_print('dropbox_chucked_upload');
|
68 |
$chunkHandle = fopen('php://memory', 'rw');
|
69 |
fwrite($chunkHandle,$data);
|
63 |
$uploadid=null;
|
64 |
$offset=0;
|
65 |
$ProgressFunction=null;
|
66 |
+
while ($data=fread($file_handle, (1024*1024*30))) { //1024*1024*30 = 30MB
|
67 |
iwp_mmb_auto_print('dropbox_chucked_upload');
|
68 |
$chunkHandle = fopen('php://memory', 'rw');
|
69 |
fwrite($chunkHandle,$data);
|
readme.txt
CHANGED
@@ -48,6 +48,12 @@ Credits: [Vladimir Prelovac](http://prelovac.com/vladimir) for his worker plugin
|
|
48 |
|
49 |
== Changelog ==
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
= 1.1.9 =
|
52 |
* Better error reporting
|
53 |
* Improved connection reliability
|
48 |
|
49 |
== Changelog ==
|
50 |
|
51 |
+
= 1.1.10 =
|
52 |
+
* Charset issue fixed for restore / clone
|
53 |
+
* Dropbox improved
|
54 |
+
* Cloning URL and folder path fixed
|
55 |
+
|
56 |
+
|
57 |
= 1.1.9 =
|
58 |
* Better error reporting
|
59 |
* Improved connection reliability
|