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
This commit is contained in:
koopersmith 2011-11-28 16:32:33 +00:00
parent 580048525d
commit 90f4fb3dd5
2 changed files with 13 additions and 9 deletions

View File

@ -38,7 +38,7 @@ $help_navigation = '<p>' . __('The left-hand navigation menu provides links to
$help_navigation .= '<p>' . __('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.') . '</p>';
get_current_screen()->add_help_tab( array(
'id' => 'help-navigation',
'id' => 'help-navigation',
'title' => __('Navigation'),
'content' => $help_navigation,
) );

View File

@ -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,
'<p>' . __('Your profile contains information about you (your &#8220;account&#8221;) as well as some personal options related to using WordPress.') . '</p>' .
'<p>' . __('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.') . '</p>' .
'<p>' . __('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.') . '</p>' .
'<p>' . __('Required fields are indicated; the rest are optional. Profile information will only be displayed if your theme is set up to do so.') . '</p>' .
'<p>' . __('Remember to click the Update Profile button when you are finished.') . '</p>'
);
$profile_help = '<p>' . __('Your profile contains information about you (your &#8220;account&#8221;) as well as some personal options related to using WordPress.') . '</p>' .
'<p>' . __('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.') . '</p>' .
'<p>' . __('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.') . '</p>' .
'<p>' . __('Required fields are indicated; the rest are optional. Profile information will only be displayed if your theme is set up to do so.') . '</p>' .
'<p>' . __('Remember to click the Update Profile button when you are finished.') . '</p>';
get_current_screen()->add_help_tab( array(
'id' => 'your-profile',
'title' => __('Your Profile'),
'content' => $profile_help,
) );
get_current_screen()->set_help_sidebar(
'<p><strong>' . __('For more information:') . '</strong></p>' .