revision-notes
revision-notes copied to clipboard
Revisions without content changes are wonky :)
Checked two situations of attempting to leave a note with no other changes:
- Post with no revisions
- Post with existing revisions
With no revisions, upon save, nothing in the UI changed. No revisions listed (makes sense). Once making any change to content and saving, the original revision note was applied to the initial revision, so that seemingly worked, though perhaps expected the revision UI to appear.
With existing revisions, it seemingly didn't work. I tried to leave a note with no changes, then changed something. The UI reflected each revision correctly with the no-update note seemingly lost.
In both of these situations, the note is still saved to the original post so it'll show up as the latest revision note in the list table. What would your expectations be for each? I could probably do some juggling on the PHP side to not save to the parent post if no revision's been created, but that still leaves a field that a user can fill out and then just disappears into the ether. Will have to mull on how to handle that.