WordPress.org

Make WordPress Core

Opened 13 months ago

Last modified 13 months ago

#23857 new enhancement

Delete User Should Delete Comments

Reported by: jamcat22 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.5.1
Component: Users Keywords:
Focuses: Cc:

Description

The delete user function should also delete that user's comments or attribute that users comments to the person specified. That way, deletion of accounts goes a lot smoother.

Change History (3)

comment:2 nacin13 months ago

While posts are created by a user account, comments can be created without a user account. So I don't think this should be an outright delete. Either we add a checkbox to that screen, or assume that not deleting the comments is actually the best behavior, and if someone wanted to change that behavior, they could use the delete_user hook there.

comment:3 jamcat2213 months ago

I think there should be a checkbox addition to that screen. Also, if that doesn't work we could allow users to delete each of their comments on their own.

Note: See TracTickets for help on using tickets.