Skip to content

wp user delete doesn't delete the user on multisite anymore #1072

Description

@danielbachhuber

In 30cd4ea, switching from wpmu_delete_user() to wp_delete_user() means the user won't actually get deleted on multisite. There isn't a test for this, which I think is why you missed it.

For multisite, I think we need to accommodate these behaviors:

  • Remove from site, but leave association to posts.
  • Remove from site, and reassign posts.
  • Delete from network, and reassign posts.
  • Delete from network, and delete all posts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions