Notas da versão 1.9.0: 3 novidades 7 melhorias
Novidade
- Adds a revision count to the Gravity Forms Forms table.
- Adds before/after actions around form-revision save, restore, and delete: gk/gravityrevisions/form-revisions/save/before and /after;; gk/gravityrevisions/form-revisions/restore/before and /after;; gk/gravityrevisions/form-revisions/delete/before and /after.
- 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.
Melhoria
- 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.
- Foundation to version 1.31.0.