Opened 17 months ago
Last modified 17 months ago
#61598 new enhancement
Add an interface option to let users set empty_trash_days
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Posts, Post Types | Keywords: | has-patch |
| Focuses: | Cc: |
Description
Most users are unaware of the empty_trash_days settings or how to change it. This can sometimes make them lose their content if they trash their posts instead of setting them as drafts.
In #61511 I suggested we could display the value of empty_trash_days to minimize confusion but we could go further and introduce a setting to allow users to set this value via their dashboard.
Change History (3)
This ticket was mentioned in PR #6996 on WordPress/wordpress-develop by @debarghyabanerjee.
17 months ago
#1
- Keywords has-patch added
@khokansardar commented on PR #6996:
17 months ago
#2
@Debarghya-Banerjee left smaill suggestion. Overall LGTM.
@debarghyabanerjee commented on PR #6996:
17 months ago
#3
@Debarghya-Banerjee left small suggestion. Overall LGTM.
Hi @itzmekhokan, I have fixed the above requested changes, and have assigned you for re-review again. Thanks :-)
Trac Ticket - Core-61598
## Summary
Fixes an issue with the
EMPTY_TRASH_DAYSvalue, right now user can't manually set theEMPTY_TRASH_DAYSvaluefrom the backend, so this PR addresses the issue and adds a settings field under
Writing, which lets the user set theEMPTY_TRASH_DAYSvalue.## Description
### Problem
Right now, the user can't manually set the
EMPTY_TRASH_DAYSvalue from the backend, neither all of them are aware of the process on how to do it. They either need to hire adeveloperto do the changes or need to manually change it.### Solution
To resolve this issue, I have made the following changes:
WritingEMPTY_TRASH_DAYSvalue would get updated as well.EMPTY_TRASH_DAYSvalue from the backend.### Changes Made