X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/38ca813a0e312e2768e5b9519f0415cd0aa84781..e0bf0ae6a149125bedfeaf344114a97d5864e74d:/wp-admin/network/user-new.php diff --git a/wp-admin/network/user-new.php b/wp-admin/network/user-new.php index 6690d994..316fffe5 100644 --- a/wp-admin/network/user-new.php +++ b/wp-admin/network/user-new.php @@ -1,6 +1,6 @@ add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '

' . __('Add User will set up a new user account on the network and send that person an email with username and password.') . '

' . + '

' . __('Users who are signed up to the network without a site are added as subscribers to the main or primary dashboard site, giving them profile pages to manage their accounts. These users will only see Dashboard and My Sites in the main navigation until a site is created for them.') . '

' +) ); -add_contextual_help($current_screen, - '

' . __('Add User will set up a new user account on the network and send that person an email with username and password.') . '

' . - '

' . __('Users who are signed up to the network without a site are added as subscribers to the main or primary dashboard site, giving them profile pages to manage their accounts. These users will only see Dashboard and My Sites in the main navigation until a site is created for them.') . '

' . +get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . '

' . __('Documentation on Network Users') . '

' . '

' . __('Support Forums') . '

' @@ -35,7 +40,7 @@ if ( isset($_REQUEST['action']) && 'add-user' == $_REQUEST['action'] ) { $user = $_POST['user']; - $user_details = wpmu_validate_user_signup( $user['username'], $user['email'] ); + $user_details = wpmu_validate_user_signup( $user['username'], $user['email'] ); if ( is_wp_error( $user_details[ 'errors' ] ) && ! empty( $user_details[ 'errors' ]->errors ) ) { $add_user_errors = $user_details[ 'errors' ]; } else { @@ -80,7 +85,7 @@ if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) { ?> ?> -
+ @@ -100,4 +105,3 @@ if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) { ?>