Users help. props dragoonis. see #13467.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin
2010-05-27 23:10:26 +00:00
parent 4b9021ce98
commit 720667d914
3 changed files with 41 additions and 0 deletions
+17
View File
@@ -108,6 +108,23 @@ if ( isset($_REQUEST['action']) && 'adduser' == $_REQUEST['action'] ) {
$title = __('Add New User');
$parent_file = 'users.php';
add_contextual_help($current_screen,
'<p>' . __('To add a new user to your site, fill in the form on this screen. If you&#8217;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:') . '</p>' .
'<ul style="list-style: inside;">' .
'<li>' . __('Administrators have access to all the administration features') . '</li>' .
'<li>' . __('Editors can publish posts, manage posts as well as manage other people&#8217;s posts, etc.') . '</li>' .
'<li>' . __('Authors can publish and manage their own posts') . '</li>' .
'<li>' . __('Contributors can write and manage their posts but not publish posts or upload media files') . '</li>' .
'<li>' . __('Subscribers can read comments/comment/receive newsletters, etc.') . '</li>' .
'</ul>' .
'<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>' .
'<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 do not the password to be included in the welcome email.') . '</p>' .
'<p>' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '</p>' .
'<p><strong>' . __('For more information:') . '</strong></p>' .
'<p>' . __('<a target="_blank" href="http://codex.wordpress.org/Users_Add_New_SubPanel">Add New Users</a>') . '</p>' .
'<p>' . __('<a target="_blank" href="http://wordpress.org/support/">Support Forums</a>') . '</p>'
);
wp_enqueue_script('wp-ajax-response');
wp_enqueue_script('user-profile');
wp_enqueue_script('password-strength-meter');