Version Description
Download this release
Release Info
Developer | Clorith |
Plugin | Health Check |
Version | 1.4.3 |
Comparing to | |
See all releases |
Code changes from version 1.4.2 to 1.4.3
- health-check.php +2 -2
- includes/class-health-check-dashboard-widget.php +7 -0
- readme.txt +5 -2
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.
|
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.
|
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.3
|
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.3' );
|
39 |
|
40 |
// Set the plugin file.
|
41 |
define( 'HEALTH_CHECK_PLUGIN_FILE', __FILE__ );
|
includes/class-health-check-dashboard-widget.php
CHANGED
@@ -12,6 +12,13 @@ class Health_Check_Dashboard_Widget {
|
|
12 |
}
|
13 |
|
14 |
function dashboard_setup() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
wp_add_dashboard_widget(
|
16 |
'health_check_status',
|
17 |
__( 'Site Health Status', 'health-check' ),
|
12 |
}
|
13 |
|
14 |
function dashboard_setup() {
|
15 |
+
global $wp_version;
|
16 |
+
|
17 |
+
// Don't add the dashboard widget if core already does so.
|
18 |
+
if ( version_compare( $wp_version, '5.4.0', '>=' ) ) {
|
19 |
+
return;
|
20 |
+
}
|
21 |
+
|
22 |
wp_add_dashboard_widget(
|
23 |
'health_check_status',
|
24 |
__( 'Site Health Status', 'health-check' ),
|
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.
|
7 |
-
Stable tag: 1.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.2 =
|
53 |
* Fix missing headers for a loopback request in the debug section
|
54 |
|
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.3
|
8 |
License: GPLv2
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
49 |
|
50 |
== Changelog ==
|
51 |
|
52 |
+
= v1.4.3 =
|
53 |
+
* Compatibility with WordPress 5.4
|
54 |
+
|
55 |
= v1.4.2 =
|
56 |
* Fix missing headers for a loopback request in the debug section
|
57 |
|