Make WordPress Core

Opened 4 weeks ago

Last modified 4 weeks ago

#61511 new enhancement

Use empty_trash_days to show how many days deleted posts will be kept for in the trash

Reported by: mrfoxtalbot's profile mrfoxtalbot Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.5.5
Component: Administration Keywords: has-patch
Focuses: Cc:


By default, posts will be kept in the trash [for 30 days](,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]( and display it alongside the "1 post moved to the Trash" message and/or on the trash section itself.

Attachments (2)

Screenshot 2024-06-26 at 15.38.31.png (52.2 KB) - added by mrfoxtalbot 4 weeks ago.
"1 post moved to the Trash
Screenshot 2024-06-26 at 15.40.25.png (134.2 KB) - added by mrfoxtalbot 4 weeks ago.
Trash with the new proposed message

Download all attachments as: .zip

Change History (3)

4 weeks ago

"1 post moved to the Trash

4 weeks ago

Trash with the new proposed message

This ticket was mentioned in PR #6932 on WordPress/wordpress-develop by @aslamdoctor.

4 weeks ago

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.