Skip to content

Commit 3b74146

Browse files
author
Daryl Koopersmith
committed
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
1 parent 6bb6916 commit 3b74146

2 files changed

Lines changed: 13 additions & 9 deletions

File tree

wp-admin/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
$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>';
3939

4040
get_current_screen()->add_help_tab( array(
41-
'id' => 'help-navigation',
41+
'id' => 'help-navigation',
4242
'title' => __('Navigation'),
4343
'content' => $help_navigation,
4444
) );

wp-admin/user-edit.php

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,18 @@
3636
else
3737
$parent_file = 'profile.php';
3838

39-
// contextual help - choose Help on the top right of admin panel to preview this.
40-
add_contextual_help($current_screen,
41-
'<p>' . __('Your profile contains information about you (your &#8220;account&#8221;) as well as some personal options related to using WordPress.') . '</p>' .
42-
'<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>' .
43-
'<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>' .
44-
'<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>' .
45-
'<p>' . __('Remember to click the Update Profile button when you are finished.') . '</p>'
46-
);
39+
40+
$profile_help = '<p>' . __('Your profile contains information about you (your &#8220;account&#8221;) as well as some personal options related to using WordPress.') . '</p>' .
41+
'<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>' .
42+
'<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>' .
43+
'<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>' .
44+
'<p>' . __('Remember to click the Update Profile button when you are finished.') . '</p>';
45+
46+
get_current_screen()->add_help_tab( array(
47+
'id' => 'your-profile',
48+
'title' => __('Your Profile'),
49+
'content' => $profile_help,
50+
) );
4751

4852
get_current_screen()->set_help_sidebar(
4953
'<p><strong>' . __('For more information:') . '</strong></p>' .

0 commit comments

Comments
 (0)