--- a/wp/wp-admin/index.php Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-admin/index.php Wed Sep 21 18:19:35 2022 +0200
@@ -72,8 +72,16 @@
$help = '<p>' . __( 'The boxes on your Dashboard screen are:' ) . '</p>';
+if ( current_user_can( 'edit_theme_options' ) ) {
+ $help .= '<p>' . __( '<strong>Welcome</strong> — Shows links for some of the most common tasks when setting up a new site.' ) . '</p>';
+}
+
+if ( current_user_can( 'view_site_health_checks' ) ) {
+ $help .= '<p>' . __( '<strong>Site Health Status</strong> — Informs you of any potential issues that should be addressed to improve the performance or security of your website.' ) . '</p>';
+}
+
if ( current_user_can( 'edit_posts' ) ) {
- $help .= '<p>' . __( '<strong>At A Glance</strong> — Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.' ) . '</p>';
+ $help .= '<p>' . __( '<strong>At a Glance</strong> — Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.' ) . '</p>';
}
$help .= '<p>' . __( '<strong>Activity</strong> — Shows the upcoming scheduled posts, recently published posts, and the most recent comments on your posts and allows you to moderate them.' ) . '</p>';
@@ -88,10 +96,6 @@
__( 'https://planet.wordpress.org/' )
) . '</p>';
-if ( current_user_can( 'edit_theme_options' ) ) {
- $help .= '<p>' . __( '<strong>Welcome</strong> — Shows links for some of the most common tasks when setting up a new site.' ) . '</p>';
-}
-
$screen->add_help_tab(
array(
'id' => 'help-content',