Make WordPress Core

Opened 4 months ago

Last modified 4 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: mrfoxtalbot's profile mrfoxtalbot 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)

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

Download all attachments as: .zip

Change History (3)

@mrfoxtalbot
4 months ago

"1 post moved to the Trash

@mrfoxtalbot
4 months ago

Trash with the new proposed message

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


4 months ago
#1

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