Opened 9 months ago
Last modified 3 months ago
#61511 new enhancement
Use empty_trash_days to show how many days deleted posts will be kept for in the trash
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.5.5 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
By default, posts will be kept in the trash [for 30 days](https://codex.wordpress.org/Trash_status#:~:text=pull%2Ddown%20menu.-,Default%20Days%20before%20Permanently%20Deleted,are%20deleted%20and%20some%20remain) before they are discarded for good.
I have encountered many users who lost content because they did not know about this 30 day limit.
I propose we use the value set in [empty_trash_days](https://codex.wordpress.org/Trash_status) and display it alongside the "1 post moved to the Trash" message and/or on the trash section itself.
Attachments (2)
Change History (8)
This ticket was mentioned in PR #6932 on WordPress/wordpress-develop by @aslamdoctor.
9 months ago
#1
- Keywords has-patch added
@aslamdoctor commented on PR #6932:
3 months ago
#2
Thanks @Debarghya-Banerjee , the suggested changes has been committed.
@aslamdoctor commented on PR #6932:
3 months ago
#3
Closing this PR as lot of files were outdated on my branch, so I merged trunk with it to update them and it messed up the PR with lot of commits 🤦♂️
This ticket was mentioned in PR #8054 on WordPress/wordpress-develop by @aslamdoctor.
3 months ago
#4
Trac ticket: https://core.trac.wordpress.org/ticket/61511
@aslamdoctor commented on PR #8054:
3 months ago
#5
@Debarghya-Banerjee I created this as a fresh PR as I did some mistakes in previous one by including huge set of commits and had to close it.
@aslamdoctor commented on PR #6932:
3 months ago
#6
@Debarghya-Banerjee please follow this fresh PR
https://github.com/WordPress/wordpress-develop/pull/8054
"1 post moved to the Trash