1.9.0
Última3 novos13 alterações
Novo
- Adds a revision count to the Gravity Forms Forms table.
- Adds `before`/`after` actions around form-revision save, restore, and delete
- Adds the `gk/gravityrevisions/entry-revisions/restore/after` action, which fires after an entry has been restored from a revision and receives the entry ID, the entry before the restore, the restored entry, and the revision ID — restoring suppresses Gravity Forms' entry update hooks so notifications and feeds don't fire, which also leaves anything caching entry data (a calendar subscription, a search index) with nothing else to listen for.
Alterações
- This release expands form revisions with a pre-restore backup, versioned notifications and confirmations, a Forms list revision count, and new developer hooks, plus fixes to form restore and revision counting.
- Backs up the current form as a new revision before a restore, so a restore can be undone.
- Includes form notifications and confirmations in form revisions, so they are versioned and restored with the form.
- A form revision being applied to the wrong form — revisions are now validated against their own form before restoring.
- A single form save creating more than one revision, inflating the revision count.
- Editing a notification or confirmation on its own not creating a form revision, leaving the change out of the form's revision history.
- A "translation loading was triggered too early" notice on WordPress 6.7 and later, caused by loading settings translations during startup.
- 💻 Developer Updates
- `gk/gravityrevisions/form-revisions/save/before` and `/after`
- `gk/gravityrevisions/form-revisions/restore/before` and `/after`
- `gk/gravityrevisions/form-revisions/delete/before` and `/after`.
- 🔄 Updated
- [Foundation]