diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 7ea7cdfd9d..96da36f898 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -981,3 +981,112 @@ var tb_pathToImage = " +

+ + +

+ +

+ + +
+ + ID ) . '">' . $current_user->user_login . ''; ?> + + ID ) ) { + wp_die( sprintf( __( 'Warning! User %s cannot be deleted.' ), $delete_user->user_login ) ); + } + + if ( in_array( $delete_user->user_login, $site_admins ) ) { + wp_die( sprintf( __( 'Warning! User cannot be deleted. The user %s is a network administrator.' ), '' . $delete_user->user_login . '' ) ); + } + ?> + + + + "; + } else { + ?> + + +
user_login; ?> + ' . "\n"; ?> +

' . $delete_user->user_login . '' + ); ?>

+ $details ) { + $blog_users = get_users( array( 'blog_id' => $details->userblog_id, 'fields' => array( 'ID', 'user_login' ) ) ); + if ( is_array( $blog_users ) && !empty( $blog_users ) ) { + $user_site = "{$details->blogname}"; + $user_dropdown = ''; + $user_dropdown .= "\n"; + ?> +
    +
  • +
  • +
  • +
  • +
+

+ +
+ +

+ +

+ +
+ -

- - -

- -

- - -
- - ID ) . '">' . $current_user->user_login . ''; ?> - - ID ) ) { - wp_die( sprintf( __( 'Warning! User %s cannot be deleted.' ), $delete_user->user_login ) ); - } - - if ( in_array( $delete_user->user_login, $site_admins ) ) { - wp_die( sprintf( __( 'Warning! User cannot be deleted. The user %s is a network administrator.' ), '' . $delete_user->user_login . '' ) ); - } - ?> - - - - "; - } else { - ?> - - -
user_login; ?> - ' . "\n"; ?> -

' . $delete_user->user_login . '' - ); ?>

- $details ) { - $blog_users = get_users( array( 'blog_id' => $details->userblog_id, 'fields' => array( 'ID', 'user_login' ) ) ); - if ( is_array( $blog_users ) && !empty( $blog_users ) ) { - $user_site = "{$details->blogname}"; - $user_dropdown = ''; - $user_dropdown .= "\n"; - ?> -
    -
  • -
  • -
  • -
  • -
-

- -
- -

- -

- -
-