PLUGIN needed – RecentChanges, or Latest Updates as i prefer to call them, need a serious addition. Currently, it’s implemented with a custom field. I update the field (a form box on the edit post page) when i think an edit deserves version increase. Problems: no record of previous versions is preserved. No comments at all (easily solved with another custom field). Not history of comments. History of comments would produce ChangeLog. So, registering a callback to event Save new revision could work. Or any hooking somewhere to run an extra plugin (LatestUpdates) on each Save will be required. Let’s say current version is 0.2 (stored in custom field version_no, with belonging post revision number stored in version_rev, with a comment stored in version_com), and the new one is 0.2.3. This plugin would do
- check custom field containing version number in the currently submited (Save) post and compare it with the one in the DB; If different:
- create two new custom fields: version_0.2_rev and version_0.2_com and copy content from version_rev and version_com to them;
- update version_no with new version number 0.2.3, update version_rev with the current post revision number and update version_com with the comment (written in its own form field on the post edit page).
- update ChangeLog file with the new entry, or maybe save ChangeLog as a new post to category, or tag, used only for this text – that would make RSS feeds and widgets with changelog easily possible.

