woothemes/woocommerce — pull request #6102 by leglesslizard (2014-08-26 23:02:01+00:00)
Title: current_user_can( 'delete_users' ) always returns false

Having 'case: "delete_users" :' in this function always adds 'do_not_allow' as $args[0] is never set therefore current_user_can( 'delete_users' ) always returns false

This can be replicated by activating woocommerce and attempting to delete a user through wp admin.

This commit fixes the issue.