Make WordPress Core

Opened 25 hours ago

#64189 new feature request

Include value of EMPTY_TRASH_DAYS constant

Reported by: desrosj's profile desrosj Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Site Health Keywords: good-first-bug
Focuses: Cc:

Description

The EMPTY_TRASH_DAYS constant controls how long posts and comments remain in the trash before wp_scheduled_delete() deletes them permanently.

The default value is 30, but setting the constant to a falsey value will skip the trash entirely any time delete post/comment is clicked. This value could be useful for debugging certain behaviors in a WordPress site.

Change History (0)

Note: See TracTickets for help on using tickets.