The built-in ability to restore revisions of posts and pages in Wordpress is great. Is there something that gives the same power to template files in the theme-editor? Perhaps a plugin?
Templates are only stored as files in the file system. They are not stored in the database so there is no core functionality for versioning template files. When you make changes, the file is overwritten with the changes.
The easiest route would be to use an existing version control solution (SVN,CVS,Git,Hg, etc.) and maintain the versioning separate from WordPress.
There is no such plugin out there to do this that I am aware of. But, this is an awesome idea for a plugin. When I get the time I might have a go at creating a theme / plugin versioning plugin that merely creates copies of itself so you can revert back after changes have been made. It wouldn't be overly complex like Git or SVN, but it would be useful.
|show 1 more comment|