From 3b7414641bfe11dcf89e2d1e7e4a0bd5365aec72 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Mon, 28 Nov 2011 16:32:33 +0000 Subject: [PATCH] Update help content for user edit page. props Ipstenu, see #19020. git-svn-id: https://develop.svn.wordpress.org/trunk@19459 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/index.php | 2 +- wp-admin/user-edit.php | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/wp-admin/index.php b/wp-admin/index.php index a608a7773c..e2d3cffac0 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -38,7 +38,7 @@ $help_navigation = '

' . __('The left-hand navigation menu provides links to $help_navigation .= '

' . __('Links in the Toolbar at the top of the screen connect your dashboard and the front end of your site, and provide access to your profile and helpful WordPress information.') . '

'; get_current_screen()->add_help_tab( array( - 'id' => 'help-navigation', + 'id' => 'help-navigation', 'title' => __('Navigation'), 'content' => $help_navigation, ) ); diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 61802f574f..5713ead265 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -36,14 +36,18 @@ if ( current_user_can('edit_users') && !is_user_admin() ) else $parent_file = 'profile.php'; -// contextual help - choose Help on the top right of admin panel to preview this. -add_contextual_help($current_screen, - '

' . __('Your profile contains information about you (your “account”) as well as some personal options related to using WordPress.') . '

' . - '

' . __('You can change your password, turn on keyboard shortcuts, change the color scheme of your WordPress administration screens, and turn off the WYSIWYG (Visual) editor, among other things.') . '

' . - '

' . __('Your username cannot be changed, but you can use other fields to enter your real name or a nickname, and change which name to display on your posts.') . '

' . - '

' . __('Required fields are indicated; the rest are optional. Profile information will only be displayed if your theme is set up to do so.') . '

' . - '

' . __('Remember to click the Update Profile button when you are finished.') . '

' -); + +$profile_help = '

' . __('Your profile contains information about you (your “account”) as well as some personal options related to using WordPress.') . '

' . + '

' . __('You can change your password, turn on keyboard shortcuts, change the color scheme of your WordPress administration screens, and turn off the WYSIWYG (Visual) editor, among other things. You can hide the Toolbar (formerly called the Admin Bar) from the front end of your site, however it cannot be disabled on the admin screens.') . '

' . + '

' . __('Your username cannot be changed, but you can use other fields to enter your real name or a nickname, and change which name to display on your posts.') . '

' . + '

' . __('Required fields are indicated; the rest are optional. Profile information will only be displayed if your theme is set up to do so.') . '

' . + '

' . __('Remember to click the Update Profile button when you are finished.') . '

'; + +get_current_screen()->add_help_tab( array( + 'id' => 'your-profile', + 'title' => __('Your Profile'), + 'content' => $profile_help, +) ); get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' .