Repository navigation
🐛 v1.7.1 - Bugfix Release
Fixed
Cache Invalidation for New Forms
- Problem: Newly created WSForm forms were not detected in the plugin UI
- Cause: 5-minute transient cache without proper invalidation
- Solution: Hash-based cache validation using MD5(id:date_updated)
How it works:
- Cache now checks MD5 hash of all forms (ID + date_updated)
- When forms list changes (new forms, updates, deletions), hash differs
- Cache automatically invalidates on changes
- New forms appear immediately in plugin UI
Benefits
✅ Immediate detection of new forms
✅ Automatic invalidation on updates/deletions
✅ Maintains performance benefit of caching
✅ No dependency on WSForm hooks
Changed Files
admin/class-rest-api.php: Hash-based cache validation forget_forms()
Info
- Bugfix release for v1.7.0
- No breaking changes
- Fully backward compatible
- Tested on WordPress 5.8+ and PHP 7.4+
Full Changelog: CHANGELOG.md