InfiniteWP Client - Version 1.6.1.1

Version Description

  • August 12th 2016 =
  • Fix: Bug Fix.
  • Fix: Plugins were not updated but were showing incorrectly as updated in the Process Queue.
  • Fix: Failed to restore: Error performing query "/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; ": Variable 'character_set_client' can't be set to the value of 'NULL' error message would show during restore.
  • Fix: PHP Notice: Undefined index error would show while taking backups.
Download this release

Release Info

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

Code changes from version 1.6.0 to 1.6.1.1

activities_log.class.php CHANGED
@@ -104,7 +104,7 @@ class IWP_MMB_Activities_log {
104
  );
105
 
106
  if(!empty($GLOBALS['activities_log_datetime'])) {
107
- $iwp_activities['post_date'] = $iwp_activities[' post_date_gmt'] = $iwp_activities[' post_modified'] = $iwp_activities['post_modified_gmt'] = $GLOBALS['activities_log_datetime'];
108
  }
109
 
110
  $post_id = wp_insert_post( $iwp_activities );
104
  );
105
 
106
  if(!empty($GLOBALS['activities_log_datetime'])) {
107
+ $iwp_activities['post_date'] = $iwp_activities['post_date_gmt'] = $iwp_activities['post_modified'] = $iwp_activities['post_modified_gmt'] = $GLOBALS['activities_log_datetime'];
108
  }
109
 
110
  $post_id = wp_insert_post( $iwp_activities );
backup.class.multicall.php CHANGED
@@ -3422,7 +3422,7 @@ class IWP_MMB_Backup_Multicall extends IWP_MMB_Core
3422
  foreach ($lines as $line) {
3423
  iwp_mmb_auto_print('restore_db_php');
3424
  // Skip it if it's a comment
3425
- if (substr($line, 0, 2) == '--' || $line == '')
3426
  continue;
3427
 
3428
  // Add this line to the current query
3422
  foreach ($lines as $line) {
3423
  iwp_mmb_auto_print('restore_db_php');
3424
  // Skip it if it's a comment
3425
+ if(substr($line, 0, 2) == '--' || $line == '' || substr($line, 0, 3) == '/*!')
3426
  continue;
3427
 
3428
  // Add this line to the current query
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.6.0
8
  Author URI: http://www.revmakx.com
9
  */
10
  /************************************************************
@@ -28,7 +28,7 @@ if(basename($_SERVER['SCRIPT_FILENAME']) == "init.php"):
28
  exit;
29
  endif;
30
  if(!defined('IWP_MMB_CLIENT_VERSION'))
31
- define('IWP_MMB_CLIENT_VERSION', '1.6.0');
32
 
33
 
34
 
@@ -104,22 +104,25 @@ if( !function_exists ('iwp_mmb_parse_request')) {
104
  ob_start();
105
 
106
  global $current_user, $iwp_mmb_core, $new_actions, $wp_db_version, $wpmu_version, $_wp_using_ext_object_cache;
107
- $data = base64_decode($HTTP_RAW_POST_DATA_LOCAL);
108
  if ($data){
109
- //$num = @extract(unserialize($data));
110
- $unserialized_data = @unserialize($data);
111
- if(isset($unserialized_data['params'])){
112
- $unserialized_data['params'] = iwp_mmb_filter_params($unserialized_data['params']);
113
- }
114
-
115
- $iwp_action = $unserialized_data['iwp_action'];
116
- $params = $unserialized_data['params'];
117
- $id = $unserialized_data['id'];
118
- $signature = $unserialized_data['signature'];
119
- if(isset($unserialized_data['is_save_activity_log'])) {
120
- $is_save_activity_log = $unserialized_data['is_save_activity_log'];
 
 
 
 
121
  }
122
- $GLOBALS['activities_log_datetime'] = $unserialized_data['activities_log_datetime'];
123
  }
124
 
125
  if (isset($iwp_action)) {
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.6.1.1
8
  Author URI: http://www.revmakx.com
9
  */
10
  /************************************************************
28
  exit;
29
  endif;
30
  if(!defined('IWP_MMB_CLIENT_VERSION'))
31
+ define('IWP_MMB_CLIENT_VERSION', '1.6.1.1');
32
 
33
 
34
 
104
  ob_start();
105
 
106
  global $current_user, $iwp_mmb_core, $new_actions, $wp_db_version, $wpmu_version, $_wp_using_ext_object_cache;
107
+ $data = trim(base64_decode($HTTP_RAW_POST_DATA_LOCAL));
108
  if ($data){
109
+ @preg_match_all('/(^|;|{|})O:+?[0-9]+:(?!"stdClass")/', $data, $objectCheck);
110
+ if(empty($objectCheck[0])){
111
+ //$num = @extract(unserialize($data));
112
+ $unserialized_data = @unserialize($data);
113
+ if(isset($unserialized_data['params'])){
114
+ $unserialized_data['params'] = iwp_mmb_filter_params($unserialized_data['params']);
115
+ }
116
+
117
+ $iwp_action = $unserialized_data['iwp_action'];
118
+ $params = $unserialized_data['params'];
119
+ $id = $unserialized_data['id'];
120
+ $signature = $unserialized_data['signature'];
121
+ if(isset($unserialized_data['is_save_activity_log'])) {
122
+ $is_save_activity_log = $unserialized_data['is_save_activity_log'];
123
+ }
124
+ $GLOBALS['activities_log_datetime'] = $unserialized_data['activities_log_datetime'];
125
  }
 
126
  }
127
 
128
  if (isset($iwp_action)) {
installer.class.php CHANGED
@@ -471,13 +471,13 @@ class IWP_MMB_Installer extends IWP_MMB_Core
471
  }
472
  $return = array();
473
  if (class_exists('Plugin_Upgrader') && class_exists('Bulk_Plugin_Upgrader_Skin')) {
474
- $upgrader = new Plugin_Upgrader(new Bulk_Plugin_Upgrader_Skin(compact('nonce', 'url')));
475
- $result = $upgrader->bulk_upgrade(array_keys($plugins));
476
-
477
  if (!function_exists('wp_update_plugins'))
478
  include_once(ABSPATH . 'wp-includes/update.php');
479
 
480
  @wp_update_plugins();
 
 
481
  $current = $this->iwp_mmb_get_transient('update_plugins');
482
 
483
  if (!empty($result)) {
@@ -751,6 +751,9 @@ class IWP_MMB_Installer extends IWP_MMB_Core
751
 
752
  function get_upgradable_plugins( $filter = array() )
753
  {
 
 
 
754
  $current = $this->iwp_mmb_get_transient('update_plugins');
755
 
756
  $upgradable_plugins = array();
471
  }
472
  $return = array();
473
  if (class_exists('Plugin_Upgrader') && class_exists('Bulk_Plugin_Upgrader_Skin')) {
474
+
 
 
475
  if (!function_exists('wp_update_plugins'))
476
  include_once(ABSPATH . 'wp-includes/update.php');
477
 
478
  @wp_update_plugins();
479
+ $upgrader = new Plugin_Upgrader(new Bulk_Plugin_Upgrader_Skin(compact('nonce', 'url')));
480
+ $result = $upgrader->bulk_upgrade(array_keys($plugins));
481
  $current = $this->iwp_mmb_get_transient('update_plugins');
482
 
483
  if (!empty($result)) {
751
 
752
  function get_upgradable_plugins( $filter = array() )
753
  {
754
+ if (!function_exists('wp_update_plugins'))
755
+ include_once(ABSPATH . 'wp-includes/update.php');
756
+ @wp_update_plugins();
757
  $current = $this->iwp_mmb_get_transient('update_plugins');
758
 
759
  $upgradable_plugins = array();
readme.txt CHANGED
@@ -24,9 +24,9 @@ Main features:
24
 
25
  Visit us at [InfiniteWP.com](https://infinitewp.com/ "Manage Multiple WordPress").
26
 
27
- Check out the [InfiniteWP Overview Video](https://youtu.be/8wOMewY2EBY) below.
28
 
29
- https://youtu.be/8wOMewY2EBY
30
 
31
  Credits: [Vladimir Prelovac](http://prelovac.com/vladimir) for his worker plugin on which the client plugin is being developed.
32
 
@@ -48,6 +48,12 @@ Credits: [Vladimir Prelovac](http://prelovac.com/vladimir) for his worker plugin
48
 
49
  == Changelog ==
50
 
 
 
 
 
 
 
51
  = 1.6.0 - June 27th 2016 =
52
  * Feature: Activity log for updates and backups to be used in new version of client reporting beta will be saved and retrieved from the WP Admin instead of the IWP Admin Panel, provided the client reporting addon is active.
53
  * Improvement: The code in the backup_status_table has been refactored.
24
 
25
  Visit us at [InfiniteWP.com](https://infinitewp.com/ "Manage Multiple WordPress").
26
 
27
+ Check out the [InfiniteWP Overview Video](https://www.youtube.com/watch?v=8wOMewY2EBY) below.
28
 
29
+ https://www.youtube.com/watch?v=8wOMewY2EBY
30
 
31
  Credits: [Vladimir Prelovac](http://prelovac.com/vladimir) for his worker plugin on which the client plugin is being developed.
32
 
48
 
49
  == Changelog ==
50
 
51
+ = 1.6.1.1 - August 12th 2016 =
52
+ * Fix: Bug Fix.
53
+ * Fix: Plugins were not updated but were showing incorrectly as updated in the Process Queue.
54
+ * Fix: Failed to restore: Error performing query "/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; ": Variable 'character_set_client' can't be set to the value of 'NULL' error message would show during restore.
55
+ * Fix: PHP Notice: Undefined index error would show while taking backups.
56
+
57
  = 1.6.0 - June 27th 2016 =
58
  * Feature: Activity log for updates and backups to be used in new version of client reporting beta will be saved and retrieved from the WP Admin instead of the IWP Admin Panel, provided the client reporting addon is active.
59
  * Improvement: The code in the backup_status_table has been refactored.