You clients store Post/Product in Trash then Publish.
Someday they report that data in Trash lost.
You quickly restore the backup for them.
But the Trash is still empty.
What the F?
You have come to the right place.
Don’t worry, the data is still there, it just not show up.
Add
define('EMPTY_TRASH_DAYS', 3650);
to wp-config.php
You will see the Posts/Products again. You may still need to restore backup.
3650 is 10 years, ajust it to the number you wanted.
I don’t know what happened, But something has obviously changed, otherwise the user wouldn’t notice that Trash has been cleared.
Oh, and don’t tell the client to use draft instead. In Windows systems, files in the Trash are not automatically emptied.
Users are used to this.
But there are a few points worth mentioning:
- 1. WooCommerce Product should have Revision
- 2. Menu should also have Trash
- 3. There should have entry level staging ability for Post/Products, otherwise what should users do if they want to update but not publish a Post/Product?