diff --git a/wp-admin/index.php b/wp-admin/index.php index 8cb469f1a2..6c704cc2fe 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -72,8 +72,16 @@ $screen->add_help_tab( $help = '

' . __( 'The boxes on your Dashboard screen are:' ) . '

'; +if ( current_user_can( 'edit_theme_options' ) ) { + $help .= '

' . __( 'Welcome — Shows links for some of the most common tasks when setting up a new site.' ) . '

'; +} + +if ( current_user_can( 'view_site_health_checks' ) ) { + $help .= '

' . __( 'Site Health Status — Informs you of any potential issues that should be addressed to improve the performance or security of your website.' ) . '

'; +} + if ( current_user_can( 'edit_posts' ) ) { - $help .= '

' . __( 'At A Glance — Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.' ) . '

'; + $help .= '

' . __( 'At a Glance — Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.' ) . '

'; } $help .= '

' . __( 'Activity — Shows the upcoming scheduled posts, recently published posts, and the most recent comments on your posts and allows you to moderate them.' ) . '

'; @@ -88,10 +96,6 @@ $help .= '

' . sprintf( __( 'https://planet.wordpress.org/' ) ) . '

'; -if ( current_user_can( 'edit_theme_options' ) ) { - $help .= '

' . __( 'Welcome — Shows links for some of the most common tasks when setting up a new site.' ) . '

'; -} - $screen->add_help_tab( array( 'id' => 'help-content', diff --git a/wp-includes/version.php b/wp-includes/version.php index e024cf86f9..d5751293f1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-beta3-49557'; +$wp_version = '5.6-beta3-49558'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.