An open API service indexing awesome lists of open source software.

https://github.com/littlebizzy/disable-empty-trash

Stops WordPress emptying trash
https://github.com/littlebizzy/disable-empty-trash

wordpress wordpress-plugin

Last synced: 5 months ago
JSON representation

Stops WordPress emptying trash

Awesome Lists containing this project

README

          

# Disable Empty Trash

Stops WordPress emptying trash

## Changelog

### 2.1.0
- added trash retention enforcement via `empty_trash_days` to prevent expiry
- added Multisite support using `pre_site_option_empty_trash_days`
- retained scheduler unhooking for extra protection against automatic cleanup
- refactored functions for clearer separation of policy vs. scheduler logic
- `Tested up to:` bumped to 6.9

### 2.0.3
- added `Tested up to` header
- added `Update URI` header
- added `Text Domain` header
- minor code optimization

### 2.0.2
- added `Requires PHP` header
- added "prevent direct access" snippet
- improved `gu_override_dot_org` snippet

### 2.0.1
- fix `gu_override_dot_org` snippet

### 2.0.0
- code totally refactored to WordPress standards
- supports PHP 7.0 to PHP 8.3
- works fine in Multisite

### 1.1.0
- Git Updater support
- disable wordpress.org updates

### 1.0.0
- initial release