2.1.0
Requires: 5.0
Requires Php: 7.4
Tested up to: 7.0.4
What's New
- Log and request retention is now always on. A retention of 0 previously meant "keep forever" — and it was the effective default almost everywhere, so on most sites the hourly cleanup jobs ran but never deleted anything. 0 is no longer valid: the default is 7 days, minimum 1, and sites that want long retention can set a high number of days.
- Fixed: upgrades never received the retention settings. The defaults were only seeded on fresh activation, so any site that installed before 2.0.8 and updated accumulated logs and requests indefinitely. Upgrading now seeds the defaults and migrates stored values below 1 to 7 days; values you set yourself (1 or higher) are left untouched.
- Settings hardening. Saving the settings screen can no longer write 0 back — non-numeric, zero or negative input is stored as the 7-day default, and the retention fields are now proper number inputs with a minimum of 1.
Follows 2.0.10, which fixed the update notice that would not clear after updating.