WordPress.org

Make WordPress Core

Ticket #19020: 19020-user-edit.php.diff

File 19020-user-edit.php.diff, 1.9 KB (added by Ipstenu, 6 years ago)

User edit screen - It's the Toolbar, baby, and it's here to stay. (I did not change the instances of Admin Bar in the page content to Toolbar, only the help box.)

  • wp-admin/user-edit.php

     
    3636else 
    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>' . 
     39get_current_screen()->add_help_tab( array(   
     40'id'      => 'your-profile',  
     41'title'   => __('Your Profile'),  
     42'content' => '<p>' . __('Your profile contains information about you (your &#8220;account&#8221;) as well as some personal options related to using WordPress.') . '</p>' . 
     43    '<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>' . 
    4344    '<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>' . 
    4445    '<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>' . 
    4546    '<p>' . __('Remember to click the Update Profile button when you are finished.') . '</p>' 
    46 ); 
     47) ); 
    4748 
    4849get_current_screen()->set_help_sidebar( 
    4950    '<p><strong>' . __('For more information:') . '</strong></p>' .