From 90f4fb3dd5b335a2f936727e0791e9559c153ff8 Mon Sep 17 00:00:00 2001 From: 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: http://svn.automattic.com/wordpress/trunk@19459 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 a608a7773c92..e2d3cffac0c8 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -38,7 +38,7 @@ $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 61802f574fed..5713ead26564 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -36,14 +36,18 @@ 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:') . '

' .