Version Description
Download this release
Release Info
Developer | Clorith |
Plugin | Health Check |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- health-check.php +3 -3
- includes/class-health-check-files-integrity.php +2 -2
- pages/tools.php +2 -2
- readme.txt +5 -1
health-check.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Plugin URI: http://wordpress.org/plugins/health-check/
|
9 |
* Description: Checks the health of your WordPress install.
|
10 |
* Author: The WordPress.org community
|
11 |
-
* Version: 1.0.
|
12 |
* Author URI: http://wordpress.org/plugins/health-check/
|
13 |
* Text Domain: health-check
|
14 |
*/
|
@@ -34,7 +34,7 @@ define( 'HEALTH_CHECK_MYSQL_MIN_VERSION', '5.0' );
|
|
34 |
define( 'HEALTH_CHECK_MYSQL_REC_VERSION', '5.6' );
|
35 |
|
36 |
// Set the plugin version.
|
37 |
-
define( 'HEALTH_CHECK_PLUGIN_VERSION', '1.0.
|
38 |
|
39 |
// Set the absolute path for the plugin.
|
40 |
define( 'HEALTH_CHECK_PLUGIN_DIRECTORY', plugin_dir_path( __FILE__ ) );
|
@@ -101,7 +101,7 @@ class HealthCheck {
|
|
101 |
add_action( 'wp_ajax_health-check-loopback-individual-plugins', array( 'Health_Check_Loopback', 'loopback_test_individual_plugins' ) );
|
102 |
add_action( 'wp_ajax_health-check-files-integrity-check', array( 'Health_Check_Files_Integrity', 'run_files_integrity_check' ) );
|
103 |
add_action( 'wp_ajax_health-check-view-file-diff', array( 'Health_Check_Files_Integrity', 'view_file_diff' ) );
|
104 |
-
add_action( 'wp_ajax_health-check-mail-check', array( '
|
105 |
add_action( 'wp_ajax_health-check-confirm-warning', array( 'Health_Check_Troubleshoot', 'confirm_warning' ) );
|
106 |
}
|
107 |
|
8 |
* Plugin URI: http://wordpress.org/plugins/health-check/
|
9 |
* Description: Checks the health of your WordPress install.
|
10 |
* Author: The WordPress.org community
|
11 |
+
* Version: 1.0.1
|
12 |
* Author URI: http://wordpress.org/plugins/health-check/
|
13 |
* Text Domain: health-check
|
14 |
*/
|
34 |
define( 'HEALTH_CHECK_MYSQL_REC_VERSION', '5.6' );
|
35 |
|
36 |
// Set the plugin version.
|
37 |
+
define( 'HEALTH_CHECK_PLUGIN_VERSION', '1.0.1' );
|
38 |
|
39 |
// Set the absolute path for the plugin.
|
40 |
define( 'HEALTH_CHECK_PLUGIN_DIRECTORY', plugin_dir_path( __FILE__ ) );
|
101 |
add_action( 'wp_ajax_health-check-loopback-individual-plugins', array( 'Health_Check_Loopback', 'loopback_test_individual_plugins' ) );
|
102 |
add_action( 'wp_ajax_health-check-files-integrity-check', array( 'Health_Check_Files_Integrity', 'run_files_integrity_check' ) );
|
103 |
add_action( 'wp_ajax_health-check-view-file-diff', array( 'Health_Check_Files_Integrity', 'view_file_diff' ) );
|
104 |
+
add_action( 'wp_ajax_health-check-mail-check', array( 'Health_Check_Mail_Check', 'run_mail_check' ) );
|
105 |
add_action( 'wp_ajax_health-check-confirm-warning', array( 'Health_Check_Troubleshoot', 'confirm_warning' ) );
|
106 |
}
|
107 |
|
includes/class-health-check-files-integrity.php
CHANGED
@@ -170,9 +170,9 @@ class Health_Check_Files_Integrity {
|
|
170 |
);
|
171 |
|
172 |
$output = '<table class="diff"><thead><tr class="diff-sub-title"><th>';
|
173 |
-
$output .= 'Original';
|
174 |
$output .= '</th><th>';
|
175 |
-
$output .= 'Modified';
|
176 |
$output .= '</th></tr></table>';
|
177 |
$output .= wp_text_diff( $remote_file_body, $local_file_body, $diff_args );
|
178 |
$response = array(
|
170 |
);
|
171 |
|
172 |
$output = '<table class="diff"><thead><tr class="diff-sub-title"><th>';
|
173 |
+
$output .= esc_html__( 'Original', 'health-check' );
|
174 |
$output .= '</th><th>';
|
175 |
+
$output .= esc_html__( 'Modified', 'health-check' );
|
176 |
$output .= '</th></tr></table>';
|
177 |
$output .= wp_text_diff( $remote_file_body, $local_file_body, $diff_args );
|
178 |
$response = array(
|
pages/tools.php
CHANGED
@@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
13 |
?>
|
14 |
|
15 |
<div class="notice notice-info inline">
|
16 |
-
<h2><?php esc_html_e( 'File Integrity' ); ?></h2>
|
17 |
<p>
|
18 |
<?php _e( 'The File Integrity checks all the core files with the <code>checksums</code> provided by the WordPress API to see if they are intact. If there are changes you will be able to make a Diff between the files hosted on WordPress.org and your installation to see what has been changed.', 'health-check' ); ?>
|
19 |
</p>
|
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
22 |
</form>
|
23 |
</div>
|
24 |
<div class="notice notice-info inline">
|
25 |
-
<h2><?php esc_html_e( 'Mail Check' ); ?></h2>
|
26 |
<p>
|
27 |
<?php _e( 'The Mail Check will invoke the <code>wp_mail()</code> function and check if it succeeds. We will use the E-mail address you have set up, but you can change it below if you like.', 'health-check' ); ?>
|
28 |
</p>
|
13 |
?>
|
14 |
|
15 |
<div class="notice notice-info inline">
|
16 |
+
<h2><?php esc_html_e( 'File Integrity', 'health-check' ); ?></h2>
|
17 |
<p>
|
18 |
<?php _e( 'The File Integrity checks all the core files with the <code>checksums</code> provided by the WordPress API to see if they are intact. If there are changes you will be able to make a Diff between the files hosted on WordPress.org and your installation to see what has been changed.', 'health-check' ); ?>
|
19 |
</p>
|
22 |
</form>
|
23 |
</div>
|
24 |
<div class="notice notice-info inline">
|
25 |
+
<h2><?php esc_html_e( 'Mail Check', 'health-check' ); ?></h2>
|
26 |
<p>
|
27 |
<?php _e( 'The Mail Check will invoke the <code>wp_mail()</code> function and check if it succeeds. We will use the E-mail address you have set up, but you can change it below if you like.', 'health-check' ); ?>
|
28 |
</p>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Tags: health check
|
|
3 |
Contributors: wordpressdotorg, westi, pento, Clorith
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.0.
|
7 |
|
8 |
== Description ==
|
9 |
|
@@ -33,6 +33,10 @@ In the future we may introduce more checks, and welcome feedback both through th
|
|
33 |
|
34 |
== Changelog ==
|
35 |
|
|
|
|
|
|
|
|
|
36 |
= v 1.0.0 =
|
37 |
* Added minimum PHP version checks with documentation links.
|
38 |
* Added testing with a default theme to the loopback checker.
|
3 |
Contributors: wordpressdotorg, westi, pento, Clorith
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.0.1
|
7 |
|
8 |
== Description ==
|
9 |
|
33 |
|
34 |
== Changelog ==
|
35 |
|
36 |
+
= v 1.0.1 =
|
37 |
+
* Fixed email tester having the wrong class reference, preventing it from running.
|
38 |
+
* Add some missing text domains preventing full translations.
|
39 |
+
|
40 |
= v 1.0.0 =
|
41 |
* Added minimum PHP version checks with documentation links.
|
42 |
* Added testing with a default theme to the loopback checker.
|