diff --git a/wp-admin/index.php b/wp-admin/index.php index 7e46d8c13b..60bff45946 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -58,14 +58,21 @@ get_current_screen()->add_help_tab( array( ) ); $help = '
' . __('The boxes on your Dashboard screen are:') . '
'; -$help .= '' . __('Right Now - Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.') . '
'; -$help .= '' . __('Recent Comments - Shows the most recent comments on your posts (configurable, up to 30) and allows you to moderate them.') . '
'; -$help .= '' . __('Incoming Links - Shows links to your site found by Google Blog Search.') . '
'; -$help .= '' . __('QuickPress - Allows you to create a new post and either publish it or save it as a draft.') . '
'; -$help .= '' . __('Recent Drafts - Displays links to the 5 most recent draft posts you’ve started.') . '
'; +if ( current_user_can( 'edit_posts' ) ) + $help .= '' . __('Right Now - Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.') . '
'; +if ( current_user_can( 'moderate_comments' ) ) + $help .= '' . __('Recent Comments - Shows the most recent comments on your posts (configurable, up to 30) and allows you to moderate them.') . '
'; +if ( current_user_can( 'publish_posts' ) ) + $help .= '' . __('Incoming Links - Shows links to your site found by Google Blog Search.') . '
'; +if ( current_user_can( 'edit_posts' ) ) { + $help .= '' . __('QuickPress - Allows you to create a new post and either publish it or save it as a draft.') . '
'; + $help .= '' . __('Recent Drafts - Displays links to the 5 most recent draft posts you’ve started.') . '
'; +} $help .= '' . __('WordPress Blog - Latest news from the official WordPress project.') . '
'; $help .= '' . __('Other WordPress News - Shows the WordPress Planet feed. You can configure it to show a different feed of your choosing.') . '
'; -$help .= '' . __('Plugins - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '
'; +if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) + $help .= '' . __('Plugins - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '
'; +$help .= '' . __('Welcome - Shows links for some of the most common tasks when setting up a new site.') . '
'; get_current_screen()->add_help_tab( array( 'id' => 'help-content',