--- a/wp/wp-admin/site-health.php Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-admin/site-health.php Tue Sep 27 16:37:53 2022 +0200
@@ -19,14 +19,14 @@
);
/**
- * An associated array of extra tabs for the Site Health navigation bar.
+ * An associative array of extra tabs for the Site Health navigation bar.
*
* Add a custom page to the Site Health screen, based on a tab slug and label.
* The label you provide will also be used as part of the site title.
*
* @since 5.8.0
*
- * @param array $tabs An associated array of tab slugs and their label.
+ * @param string[] $tabs An associative array of tab labels keyed by their slug.
*/
$tabs = apply_filters( 'site_health_navigation_tabs', $tabs );
@@ -74,6 +74,22 @@
$health_check_site_status = WP_Site_Health::get_instance();
+get_current_screen()->add_help_tab(
+ array(
+ 'id' => 'overview',
+ 'title' => __( 'Overview' ),
+ 'content' =>
+ '<p>' . __( 'This screen allows you to obtain a health diagnosis of your site, and displays an overall rating of the status of your installation.' ) . '</p>' .
+ '<p>' . __( 'In the Status tab, you can see critical information about your WordPress configuration, along with anything else that requires your attention.' ) . '</p>' .
+ '<p>' . __( 'In the Info tab, you will find all the details about the configuration of your WordPress site, server, and database. There is also an export feature that allows you to copy all of the information about your site to the clipboard, to help solve problems on your site when obtaining support.' ) . '</p>',
+ )
+);
+
+get_current_screen()->set_help_sidebar(
+ '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
+ '<p>' . __( '<a href="https://wordpress.org/support/article/site-health-screen/">Documentation on Site Health tool</a>' ) . '</p>'
+);
+
// Start by checking if this is a special request checking for the existence of certain filters.
$health_check_site_status->check_wp_version_check_exists();
@@ -200,7 +216,7 @@
<div class="health-check-body health-check-status-tab hide-if-no-js">
<div class="site-status-all-clear hide">
<p class="icon">
- <span class="dashicons dashicons-yes"></span>
+ <span class="dashicons dashicons-smiley" aria-hidden="true"></span>
</p>
<p class="encouragement">