Ticket #39220: 39220.patch
File 39220.patch, 697 bytes (added by , 8 years ago) |
---|
-
user-new.php
63 63 $redirect = 'user-new.php'; 64 64 $username = $user_details->user_login; 65 65 $user_id = $user_details->ID; 66 if ( ( $username != null && !is_super_admin( $user_id )) && ( array_key_exists($blog_id, get_blogs_of_user($user_id)) ) ) {66 if ( ! is_super_admin( $user_id ) && ( array_key_exists($blog_id, get_blogs_of_user($user_id)) ) ) { 67 67 $redirect = add_query_arg( array('update' => 'addexisting'), 'user-new.php' ); 68 68 } else { 69 69 if ( isset( $_POST[ 'noconfirmation' ] ) && current_user_can( 'manage_network_users' ) ) {