Make WordPress Core


Ignore:
Timestamp:
11/02/2011 03:12:37 AM (14 years ago)
Author:
ryan
Message:

Use add_help_sidebar(). see #19020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-new.php

    r18965 r19111  
    126126}
    127127
    128 
    129128$title = __('Add New User');
    130129$parent_file = 'users.php';
     
    145144    '<p>' . __('You must assign a password to the new user, but don&#8217;t worry; when they log in for the first time they will be prompted to change it. The username, however, cannot be changed.') . '</p>' .
    146145    '<p>' . __('New users will receive an email letting them know they&#8217;ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don&#8217;t want the password to be included in the welcome email.') . '</p>' .
    147     '<p>' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '</p>' .
     146    '<p>' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '</p>'
     147);
     148
     149get_current_screen()->add_help_sidebar(
    148150    '<p><strong>' . __('For more information:') . '</strong></p>' .
    149151    '<p>' . __('<a href="http://codex.wordpress.org/Users_Add_New_Screen" target="_blank">Documentation on Adding New Users</a>') . '</p>' .
Note: See TracChangeset for help on using the changeset viewer.