Changeset 19509 for trunk/wp-admin/user-new.php
- Timestamp:
- 12/01/2011 01:17:14 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/user-new.php
r19438 r19509 140 140 $do_both = true; 141 141 142 $help = '<p>' . __('To add a new user to your site, fill in the form on this screen and click the Add New User button at the bottom.') . '</p>'; 143 144 if ( is_multisite() ) { 145 $help .= '<p>' . __('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.') . '</p>' . 146 '<p>' . __('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.') . '</p>'; 147 } else { 148 $help .= '<p>' . __('You must assign a password to the new user, which they can change after logging in. The username, however, cannot be changed.') . '</p>' . 149 '<p>' . __('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.') . '</p>'; 150 } 151 152 $help .= '<p>' . __('Remember to click the Add New User button at the bottom of this screen when you are finished.') . '</p>'; 153 142 154 get_current_screen()->add_help_tab( array( 143 'id' => 'add-new-user', 144 'title' => __('Adding New Users'), 145 'content' => '<p>' . __('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:') . '</p>' . 155 'id' => 'overview', 156 'title' => __('Overview'), 157 'content' => $help, 158 ) ); 159 160 get_current_screen()->add_help_tab( array( 161 'id' => 'user-roles', 162 'title' => __('User Roles'), 163 'content' => '<p>' . __('Here is a basic overview of the different user roles and the permissions associated with each one:') . '</p>' . 146 164 '<ul>' . 147 165 '<li>' . __('Administrators have access to all the administration features.') . '</li>' . 148 166 '<li>' . __('Editors can publish posts, manage posts as well as manage other people’s posts, etc.') . '</li>' . 149 '<li>' . __('Authors can publish and manage their own posts .') . '</li>' .167 '<li>' . __('Authors can publish and manage their own posts, and are able to upload files.') . '</li>' . 150 168 '<li>' . __('Contributors can write and manage their posts but not publish posts or upload media files.') . '</li>' . 151 '<li>' . __('Subscribers can read comments/comment/receive newsletters, etc.') . '</li>' . 152 '</ul>' . 153 ( is_multisite() ? '<p>' . __('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.') . '</p>' : '<p>' . __('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.') . '</p>' ). 154 ( is_multisite() ? '<p>' . __('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.') . '</p>' : '<p>' . __('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.') . '</p>' ) . 155 '<p>' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '</p>' 169 '<li>' . __('Subscribers can read comments/comment/receive newsletters, etc. but cannot create regular site content.') . '</li>' . 170 '</ul>' 156 171 ) ); 157 172
Note: See TracChangeset
for help on using the changeset viewer.