Opened 2 years ago
Closed 8 months ago
#16359 closed defect (bug) (wontfix)
When deleting a user, wp_delete_post needs to force-delete
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Trash | Version: | 2.9 |
| Severity: | major | Keywords: | has-patch dev-feedback 3.3-early |
| Cc: | flashingcursor |
Description
Currently we orphan all of the posts and send them to the trash.
I can't imagine that being desired behavior. We specifically tell them we're deleting the posts and give them a confirmation screen (and an option to port them to an existing user).
Marking version at 2.9, as that's when wp_delete_post() became trash by default. Presumably it can be seen back that far.
Not sure how this wasn't caught until now. A related bug was originally reported by flashingcursor on Twitter.
Attachments (1)
Change History (8)
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.1
- Component changed from General to Trash
- Keywords dev-feedback added
Patch might overlap with #16358.
Not actually tested (despite being an obvious fix). More important is to make a decision on the desired behavior.
- Keywords 3.2-early added
- Milestone changed from 3.1 to Future Release
This is not a regression in 3.1 so can wait till 3.2 to be fixed.
comment:4
SergeyBiryukov — 2 years ago
Related: #15855
comment:5
flashingcursor — 2 years ago
- Cc flashingcursor added

Moving to 3.1. If this is not desired behavior, it should be fixed now. If it is, then it should be wontfix'd.
This brings back recollections of an old discussion, one of the earlier ones I was involved in, #11470.