Skip to content

2.0.3

Latest

Choose a tag to compare

@Tanguy-Magnaudet Tanguy-Magnaudet released this 28 Aug 09:37
b12acc9

Eight defects fixed (#8):

  • fern_form_store() fataled on every call — the API class did not parse (ABSPATH guard between declare() and namespace)
  • retention_days < 0 broke storage instead of disabling the cleanup — a negative value now means "keep submissions forever", the intended way to disable the purge
  • fern:form:config was unusable from a theme — the config is now resolved on first read, after themes load, instead of being frozen at plugin load
  • Partial filter returns fataled — returning only the key you care about now falls back to defaults for the rest
  • Cleanup loop had no exit when deletions failed, and compared a GMT cutoff against the site-local post_date column
  • Admin views showed raw PHP source under short_open_tag=Off (the php.ini-production default) — short open tags removed
  • uninstall.php fataled for users who opted into FERN_CLEAR_ON_DEACTIVATE (autoloader never registered)
  • Absurd retention_days values could purge the whole store via strtotime() overflow — a future cutoff now means "keep everything"

New: standalone regression harness — php tests/run.php (8 scenarios, no framework).

🤖 Generated with Claude Code

https://claude.ai/code/session_011zaMURgLarCjKW8ac4Y7zE