Health Check - Version 1.4.5

Version Description

Download this release

Release Info

Developer Clorith
Plugin Icon 128x128 Health Check
Version 1.4.5
Comparing to
See all releases

Code changes from version 1.4.4 to 1.4.5

assets/mu-plugin/health-check-troubleshooting-mode.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Health Check Troubleshooting Mode
4
  Description: Conditionally disabled themes or plugins on your site for a given session, used to rule out conflicts during troubleshooting.
5
- Version: 1.7.1
6
  */
7
 
8
  if ( ! defined( 'ABSPATH' ) ) {
@@ -10,7 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) {
10
  }
11
 
12
  // Set the MU plugin version.
13
- define( 'HEALTH_CHECK_TROUBLESHOOTING_MODE_PLUGIN_VERSION', '1.7.1' );
14
 
15
  class Health_Check_Troubleshooting_MU {
16
  private $disable_hash = null;
@@ -758,6 +758,11 @@ class Health_Check_Troubleshooting_MU {
758
  require_once( trailingslashit( ABSPATH ) . 'wp-admin/includes/plugin.php' );
759
  }
760
 
 
 
 
 
 
761
  // Ensure the theme functions are available to us on every page.
762
  include_once( trailingslashit( ABSPATH ) . 'wp-admin/includes/theme.php' );
763
 
2
  /*
3
  Plugin Name: Health Check Troubleshooting Mode
4
  Description: Conditionally disabled themes or plugins on your site for a given session, used to rule out conflicts during troubleshooting.
5
+ Version: 1.7.2
6
  */
7
 
8
  if ( ! defined( 'ABSPATH' ) ) {
10
  }
11
 
12
  // Set the MU plugin version.
13
+ define( 'HEALTH_CHECK_TROUBLESHOOTING_MODE_PLUGIN_VERSION', '1.7.2' );
14
 
15
  class Health_Check_Troubleshooting_MU {
16
  private $disable_hash = null;
758
  require_once( trailingslashit( ABSPATH ) . 'wp-admin/includes/plugin.php' );
759
  }
760
 
761
+ // Make sure the updater tools are available since WordPress 5.5.0 auto-updates were introduced.
762
+ if ( ! function_exists( 'wp_is_auto_update_enabled_for_type' ) ) {
763
+ require_once( trailingslashit( ABSPATH ) . 'wp-admin/includes/update.php' );
764
+ }
765
+
766
  // Ensure the theme functions are available to us on every page.
767
  include_once( trailingslashit( ABSPATH ) . 'wp-admin/includes/theme.php' );
768
 
health-check.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin URI: https://wordpress.org/plugins/health-check/
10
  * Description: Checks the health of your WordPress install.
11
  * Author: The WordPress.org community
12
- * Version: 1.4.4
13
  * Author URI: https://wordpress.org/plugins/health-check/
14
  * Text Domain: health-check
15
  */
@@ -35,7 +35,7 @@ define( 'HEALTH_CHECK_MYSQL_MIN_VERSION', '5.0' );
35
  define( 'HEALTH_CHECK_MYSQL_REC_VERSION', '5.6' );
36
 
37
  // Set the plugin version.
38
- define( 'HEALTH_CHECK_PLUGIN_VERSION', '1.4.4' );
39
 
40
  // Set the plugin file.
41
  define( 'HEALTH_CHECK_PLUGIN_FILE', __FILE__ );
9
  * Plugin URI: https://wordpress.org/plugins/health-check/
10
  * Description: Checks the health of your WordPress install.
11
  * Author: The WordPress.org community
12
+ * Version: 1.4.5
13
  * Author URI: https://wordpress.org/plugins/health-check/
14
  * Text Domain: health-check
15
  */
35
  define( 'HEALTH_CHECK_MYSQL_REC_VERSION', '5.6' );
36
 
37
  // Set the plugin version.
38
+ define( 'HEALTH_CHECK_PLUGIN_VERSION', '1.4.5' );
39
 
40
  // Set the plugin file.
41
  define( 'HEALTH_CHECK_PLUGIN_FILE', __FILE__ );
readme.txt CHANGED
@@ -3,8 +3,8 @@ Tags: health check
3
  Contributors: wordpressdotorg, westi, pento, Clorith
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
- Tested up to: 5.4
7
- Stable tag: 1.4.4
8
  License: GPLv2
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -49,6 +49,9 @@ At this time, the plugin has been tested with every version of PHP from 5.2 thro
49
 
50
  == Changelog ==
51
 
 
 
 
52
  = v1.4.4 =
53
  * Fixed hidden JavaScript warning when using troubleshooting mode on the Dashboard
54
  * Fixed plugin and theme lists staying hidden in troubleshooting mode on the Dashboard
@@ -91,4 +94,4 @@ At this time, the plugin has been tested with every version of PHP from 5.2 thro
91
  * Added filters for Site Health test results.
92
  * Added WP-CLI support, you can now run `wp health-check status` for a list of test and their status.
93
  * Moved compatibility functions out of primary files and into a `compat.php` so they can be conditionally loaded.
94
- * Disable the Fatal Error (WSOD) protection in WordPress while in troubleshooting mode.
3
  Contributors: wordpressdotorg, westi, pento, Clorith
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
+ Tested up to: 6.0
7
+ Stable tag: 1.4.5
8
  License: GPLv2
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
49
 
50
  == Changelog ==
51
 
52
+ = v1.4.5 =
53
+ * Fix Troubleshooting Mode throwing errors in frontend on WordPress 5.5
54
+
55
  = v1.4.4 =
56
  * Fixed hidden JavaScript warning when using troubleshooting mode on the Dashboard
57
  * Fixed plugin and theme lists staying hidden in troubleshooting mode on the Dashboard
94
  * Added filters for Site Health test results.
95
  * Added WP-CLI support, you can now run `wp health-check status` for a list of test and their status.
96
  * Moved compatibility functions out of primary files and into a `compat.php` so they can be conditionally loaded.
97
+ * Disable the Fatal Error (WSOD) protection in WordPress while in troubleshooting mode.