Make WordPress Core

Changeset 19459


Ignore:
Timestamp:
11/28/2011 04:32:33 PM (13 years ago)
Author:
koopersmith
Message:

Update help content for user edit page. props Ipstenu, see #19020.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/index.php

    r19445 r19459  
    3939
    4040get_current_screen()->add_help_tab( array(
    41         'id'      => 'help-navigation',
     41    'id'      => 'help-navigation',
    4242    'title'   => __('Navigation'),
    4343    'content' => $help_navigation,
  • trunk/wp-admin/user-edit.php

    r19285 r19459  
    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
     46get_current_screen()->add_help_tab( array(
     47    'id'      => 'your-profile',
     48    'title'   => __('Your Profile'),
     49    'content' => $profile_help,
     50) );
    4751
    4852get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.