WordPress.org

Make WordPress Core

Ticket #20829: 20829.patch

File 20829.patch, 756 bytes (added by ocean90, 6 years ago)
  • wp-admin/network/users.php

     
    4040                                wp_die( sprintf( __( 'Warning! User %s cannot be deleted.' ), $delete_user->user_login ) );
    4141
    4242                        if ( in_array( $delete_user->user_login, $site_admins ) )
    43                                 wp_die( sprintf( __( 'Warning! User cannot be deleted. The user %s is a network admnistrator.' ), $delete_user->user_login ) );
     43                                wp_die( sprintf( __( 'Warning! User cannot be deleted. The user %s is a network administrator.' ), $delete_user->user_login ) );
    4444
    4545                        echo "<input type='hidden' name='user[]' value='{$val}'/>\n";
    4646                        $blogs = get_blogs_of_user( $val, true );