xwp / wp-settings-revisions

Settings Revisions plugin for WordPress
http://wordpress.org/plugins/settings-revisions/
Other
25 stars 7 forks source link

Add undo and redo history #28

Open westonruter opened 11 years ago

westonruter commented 11 years ago

We can simply watch for changes to the settings, and keep track of their previous values. When undoing, we can pop the stack and restore a previous setting.

When changes to settings have been undone to the point where the settings are identical to the currently-selected revision, the Save & Publish button should turn to Saved as the dirty state would then be false.

Related to #26.