SubmissionTrashRetention
Corex\Config\Submissions\SubmissionTrashRetention · class · Config layer
How long the trash keeps a submission, and the emptying of it (spec 105, US3). WordPress empties its own trash 30 days after a post went into it, for every post type, with nothing recorded and a file uploaded with a submission left on disk. A submission in the trash is CoreX’s to delete: after the number of days the site set, with everything tied to it, and with an entry in the activity stream. 0 means the trash keeps a submission until somebody deletes it. A submission’s date is not stored. It is this period counted from the day it was trashed, so the date the trash shows and the day the sweep deletes cannot disagree.