From 42b95ae4c970ccd03e00d5610a3b0bb26c9bc26e Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 14 Feb 2012 17:23:31 +0000 Subject: [PATCH] Cap check help text. see #19933. git-svn-id: https://develop.svn.wordpress.org/trunk@19920 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 60bff45946..8761981b62 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',