MainWP Child Reports - Version 2.0.3

Version Description

  • 2-7-2020 =
  • Fixed: an issue logging UpdraftPlus scheduled backups
  • Fixed: an issue with dismissing missing database tables warning
Download this release

Release Info

Developer mainwp
Plugin Icon 128x128 MainWP Child Reports
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

classes/class-install.php CHANGED
@@ -165,7 +165,7 @@ class Install {
165
  $table_search = $wpdb->get_var(
166
  $wpdb->prepare( 'SHOW TABLES LIKE %s', $table_name )
167
  );
168
- if ( $table_search !== $table_name ) {
169
  $missing_tables[] = $table_name;
170
  }
171
  }
165
  $table_search = $wpdb->get_var(
166
  $wpdb->prepare( 'SHOW TABLES LIKE %s', $table_name )
167
  );
168
+ if ( strcasecmp($table_search,$table_name ) != 0 ) {
169
  $missing_tables[] = $table_name;
170
  }
171
  }
classes/class-log.php CHANGED
@@ -74,9 +74,10 @@ class Log {
74
  $author = new Author( $user_id );
75
  $agent = $author->get_current_agent();
76
 
 
77
  // WP Cron tracking requires opt-in and WP Cron to be enabled.
78
- if ( ! $wp_cron_tracking && 'wp_cron' === $agent ) {
79
- return false;
80
  }
81
 
82
  $user = new \WP_User( $user_id );
74
  $author = new Author( $user_id );
75
  $agent = $author->get_current_agent();
76
 
77
+ $backup_logging = ( is_string( $connector ) && 'mainwp_backups' == $connector ) ? true : false;
78
  // WP Cron tracking requires opt-in and WP Cron to be enabled.
79
+ if ( ! $wp_cron_tracking && 'wp_cron' === $agent && ! $backup_logging ) {
80
+ return false;
81
  }
82
 
83
  $user = new \WP_User( $user_id );
mainwp-child-reports.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The MainWP Child Report plugin tracks Child sites for the MainWP Client Reports Extension. The plugin is only useful if you are using MainWP and the Client Reports Extension.
6
  * Author: MainWP
7
  * Author URI: https://mainwp.com
8
- * Version: 2.0.2
9
  */
10
 
11
  /*
5
  * Description: The MainWP Child Report plugin tracks Child sites for the MainWP Client Reports Extension. The plugin is only useful if you are using MainWP and the Client Reports Extension.
6
  * Author: MainWP
7
  * Author URI: https://mainwp.com
8
+ * Version: 2.0.3
9
  */
10
 
11
  /*
readme.txt CHANGED
@@ -5,9 +5,9 @@ Author: mainwp
5
  Author URI: https://mainwp.com
6
  Plugin URI: https://mainwp.com
7
  Requires at least: 3.6
8
- Tested up to: 5.3.2
9
  Requires PHP: 5.6
10
- Stable tag: 2.0.2
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -36,6 +36,10 @@ Credit to the [Stream Plugin](https://wordpress.org/plugins/stream/) which the M
36
 
37
  == Changelog ==
38
 
 
 
 
 
39
  = 2.0.2 - 1-22-2020 =
40
  * Fixed: an issue with logging some backups
41
  * Fixed: an issue with logging Maintenance data
5
  Author URI: https://mainwp.com
6
  Plugin URI: https://mainwp.com
7
  Requires at least: 3.6
8
+ Tested up to: 5.4
9
  Requires PHP: 5.6
10
+ Stable tag: 2.0.3
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
36
 
37
  == Changelog ==
38
 
39
+ = 2.0.3 - 2-7-2020 =
40
+ * Fixed: an issue logging UpdraftPlus scheduled backups
41
+ * Fixed: an issue with dismissing missing database tables warning
42
+
43
  = 2.0.2 - 1-22-2020 =
44
  * Fixed: an issue with logging some backups
45
  * Fixed: an issue with logging Maintenance data