xwp / wp-settings-revisions

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

Add pending review settings #1

Open westonruter opened 11 years ago

westonruter commented 11 years ago

Since the settings revisions are stored in postmeta of a custom post type, upon saving the settings the corresponding post can get a post_status of pending. Filters can be added for all registered settings to override the current value with whatever value is stored in the most recently published (non-pending) settings revision post.