Skip to content

Commit

Permalink
Update help content for user edit page. props Ipstenu, see #19020.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@19459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
koopersmith committed Nov 28, 2011
1 parent 5800485 commit 90f4fb3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion wp-admin/index.php
Expand Up @@ -38,7 +38,7 @@
$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,
) );
Expand Down
20 changes: 12 additions & 8 deletions wp-admin/user-edit.php
Expand Up @@ -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,
'<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>' .
Expand Down

0 comments on commit 90f4fb3

Please sign in to comment.