Opened 7 years ago
Last modified 7 years ago
#7636 new defect (bug)
Cover image orphaned when user is deleted
Reported by: | antipole | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Contributions | Priority: | normal |
Severity: | normal | Version: | 2.9.2 |
Component: | Media | Keywords: | needs-patch good-first-bug |
Cc: | wordpress@… |
Description
When a WordPress user is deleted, WP tidies up and deletes any user avatar, normally stored in /uploads/avatars/<usernumber> and the enclosing folder.
However, when a BuddyPress user is deleted through WordPRess, any cover image, normally stored in /uploads/buddypress/members/<usernumber> is left orphaned.
I think the cover images and the enclosing folder should be deleted.
This is the case for v2.9.2, which is not in the version list pull-down.
Thanks for the good work!
Change History (3)
Note: See
TracTickets for help on using
tickets.
We need to update something like
bp_core_delete_avatar_on_user_delete()
to do this.