Index: src/wp-admin/users.php
===================================================================
--- src/wp-admin/users.php	(revision 45768)
+++ src/wp-admin/users.php	(working copy)
@@ -234,6 +234,12 @@
 			$userids = array_map( 'intval', (array) $_REQUEST['users'] );
 		}
 
+		//exclude current user id
+		if ( in_array( get_current_user_id(), $userids ) ) {
+			$userids = array_diff( $userids, array( get_current_user_id() ) );
+			$userids = array_values( $userids );
+		}
+
 		/**
 		 * Filters whether the users being deleted have additional content
 		 * associated with them outside of the `post_author` and `link_owner` relationships.
Index: src/wp-includes/load.php
===================================================================
--- src/wp-includes/load.php	(revision 45768)
+++ src/wp-includes/load.php	(working copy)
@@ -1402,6 +1402,24 @@
 }
 
 /**
+ * Determines whether the current request is a WordPress autosave request.
+ *
+ * @since 
+ *
+ * @return bool True if it's a WordPress autosave request, false otherwise.
+ */
+function wp_doing_autosave() {
+	/**
+	 * Filters whether the current request is a WordPress autosave request.
+	 *
+	 * @since 
+	 *
+	 * @param bool wp_doing_autosave Whether the current request is a WordPress autosave request.
+	 */
+	return apply_filters( 'wp_doing_autosave', defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE );
+}
+
+/**
  * Check whether variable is a WordPress Error.
  *
  * Returns true if $thing is an object of the WP_Error class.
