Project

General

Profile

Actions

Feature #10821

closed

Deleting user account should not permanently delete content

Added by Boone Gorges over 5 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority name:
Normal
Assignee:
Category name:
-
Target version:
Start date:
2018-12-12
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

See #10820.

It appears that if a user deletes his own account on the Commons, all of his content all over the Commons is also permanently deleted. I'm not 100% sure why this is happening. The code path appears to be: wpmu_delete_user(), which then calls wp_delete_post() with force_delete=false. This suggests that items should be put into the trash. However, in the case of #10820, I can see /delete-account/ entries at 12/Dec/2018:10:35:53, with all of the DELETE queries in the binary log happening immediately afterward. This strongly suggests that it was a one-click, automatic thing. We should disable this - things should be trashed instead of deleted.


Related issues

Related to CUNY Academic Commons - Support #10820: retrieve deleted pages/postsResolved2018-12-12

Actions
Actions #1

Updated by Boone Gorges over 5 years ago

Actions #2

Updated by Boone Gorges over 5 years ago

An update that, in the case of #10820, content was fully deleted only in the case of one of the sites. I'll investigate more.

Actions #3

Updated by Boone Gorges over 5 years ago

  • Target version changed from 1.14.3 to 1.14.4
Actions #4

Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.14.4 to 1.14.5
Actions #5

Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.14.5 to 1.14.6
Actions #6

Updated by Boone Gorges about 5 years ago

  • Assignee set to Boone Gorges
Actions #7

Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.14.6 to 1.14.7
Actions #8

Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.14.7 to 1.14.8
Actions #9

Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.14.8 to 1.14.9
Actions #10

Updated by Boone Gorges about 5 years ago

  • Target version changed from 1.14.9 to 1.14.10
Actions #11

Updated by Raymond Hoh almost 5 years ago

  • Target version changed from 1.14.10 to 1.14.11
Actions #12

Updated by Boone Gorges almost 5 years ago

  • Target version changed from 1.14.11 to 1.15.1
Actions #13

Updated by Boone Gorges almost 5 years ago

  • Target version changed from 1.15.1 to 1.15.2
Actions #14

Updated by Boone Gorges almost 5 years ago

  • Status changed from New to Rejected

I've done some testing and can't find a way to reproduce, so I don't think there's anything to do here.

Actions

Also available in: Atom PDF