A few months ago, WordPress.org introduced a new feature available to plugins hosted in the Plugin Directory – changelogs. Having an easily accessible changelog is certainly a usability plus, but I felt it created unnecessary work for plugin developers. Personally, I usually provide meaningful log messages (example) when uploading a new version of a plugin to the repository, so updating the changelog with pretty much the same information seems redundant.
This gave me the idea to write a PHP script that can generate a wordpress.org-compatible changelog from the revision log. It works for any plugin hosted in the official plugins directory and can be a handy starting point for adding a changelog to plugins that don’t have it yet :
For those too lazy to click one of the above links, here’s a screenshot :
And I really do need to stop making these small hacks 🙂Related posts :