diff --git a/wp-admin/index.php b/wp-admin/index.php index 58f2bf21df..368dd7dd59 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -71,18 +71,23 @@ $screen->add_help_tab( ); $help = '

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

'; + 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 .= '

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

'; + +$help .= '

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

'; + if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) { $help .= '

' . __( "Quick Draft — Allows you to create a new post and save it as a draft. Also displays links to the 3 most recent draft posts you've started." ) . '

'; } + $help .= '

' . sprintf( /* translators: %s: WordPress Planet URL */ __( 'WordPress Events and News — Upcoming events near you as well as the latest news from the official WordPress project and the WordPress Planet.' ), __( '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.' ) . '

'; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 31deb45819..4fca3017df 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42782'; +$wp_version = '5.0-alpha-42783'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.