email address instead of username when adding existing user
-
This might be loosley related to this bug, but for some reason a site admin (but not a super admin) must use an email address to add an exsting network user instead of an email address or a username.
Part of the code for this appears to be around line 45 of wp-admin/user-new.php:
if ( is_super_admin() ) { $user_details = get_user_by('login', $_REQUEST[ 'email' ]);
and line 256:
} else { _e( 'Enter the email address or username of an existing user on this network to invite t hem to this site. That person will be sent an email asking them to confirm the invite.' ); $label = __('E-mail or Username');
Is there a security reason for this or is it simply a case of not having granular enough permission checks to allow this for site admins in multisite?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘email address instead of username when adding existing user’ is closed to new replies.