diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php index b0546e2410..1b970a89c5 100644 --- a/wp-admin/user-new.php +++ b/wp-admin/user-new.php @@ -139,19 +139,21 @@ $do_both = false; if ( is_multisite() && current_user_can('promote_users') && current_user_can('create_users') ) $do_both = true; -add_contextual_help($current_screen, - '
' . __('To add a new user to your site, fill in the form on this screen. If you’re not sure which role to assign, you can use the link below to review the different roles and their capabilities. Here is a basic overview of roles:') . '
' . - '' . __('You must assign a password to the new user, but don’t worry; when they log in for the first time they will be prompted to change it. The username, however, cannot be changed.') . '
' . - '' . __('New users will receive an email letting them know they’ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don’t want the password to be included in the welcome email.') . '
' . - '' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '
' -); + get_current_screen()->add_help_tab( array( + 'id' => 'add-new-user', + 'title' => __('Adding New Users'), + 'content' => '' . __('To add a new user to your site, fill in the form on this screen. If you’re not sure which role to assign, you can use the link below to review the different roles and their capabilities. Here is a basic overview of roles:') . '
' . + '' . __('Because this is a multisite installation, you may add accounts that already exist on the Network by specifying a username or email, and defining a role. For more options, such as specifying a password, you have to be a Network Administrator and use the hover link under an existing user’s name to Edit the user profile under Network Admin > All Users.') . '
' : '' . __('You must assign a password to the new user, but don’t worry; when they log in for the first time they will be prompted to change it. The username, however, cannot be changed.') . '
' ). + ( is_multisite() ? '' . __('New users will receive an email letting them know they’ve been added as a user for your site. This email will also contain their password. Check the box if you don’t want the user to recieve a welcome email.') . '
' : '' . __('New users will receive an email letting them know they’ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don’t want the password to be included in the welcome email.') . '
' ) . + '' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '
' + ) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/users.php b/wp-admin/users.php index b322224550..0345c507b8 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -20,12 +20,34 @@ $parent_file = 'users.php'; add_screen_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) ); // contextual help - choose Help on the top right of admin panel to preview this. -add_contextual_help($current_screen, - '' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '
' . - '' . __('You can customize the display of information on this screen as you can on other screens, by using the Screen Options tab and the on-screen filters.') . '
' . - '' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '
' -); + get_current_screen()->add_help_tab( array( + 'id' => 'screen-info', + 'title' => __('Users List'), + 'content' => '' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '
' . + '' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '
' + ) ) ; + get_current_screen()->add_help_tab( array( + 'id' => 'customize-display', + 'title' => __('Customizing This Display'), + 'content' => '' . __('You can customize the display of this screen in a number of ways:') . '
' . + '' . __('Hovering over a row in the users list will display action links that allow you to manage users. You can perform the following actions:') . '
' . + '' . __('For more information:') . '
' . '' . __('Documentation on Managing Users') . '
' .