From 6484e3cda61ce0bd2d09ba0b7dd3448f31594dd5 Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 14 Feb 2012 17:23:31 +0000 Subject: [PATCH] Cap check help text. see #19933. git-svn-id: http://svn.automattic.com/wordpress/trunk@19920 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/index.php b/wp-admin/index.php index 60bff4594..8761981b6 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -72,7 +72,8 @@ $help .= '

' . __('WordPress Blog - Latest news from the offi $help .= '

' . __('Other WordPress News - Shows the WordPress Planet feed. You can configure it to show a different feed of your choosing.') . '

'; 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.') . '

'; +if ( current_user_can( 'edit_theme_options' ) ) + $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',