WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Settings Revisions

Keep revisions of changes to your settings in Theme Customizer, and preview rollbacks to their previous states.

0.3

  • Remove ability to add new revision posts in admin. Fixes (#30). Props kucrut.
  • Only update a non-scalar setting's value if it has not changed according to _.isEqual. Props westonruter.
  • Serialize all values (even strings) when saving settings; this ensures storing non-scalar values, like arrays containing numbers, do not get these values converted into strings. Props westonruter.
  • Add a temp_customize_sanitize_js filter so that other plugins can have a chance to run serialization for the output JS-value (used by Widget Customizer); a more robust solution is needed, as noted in the inline comments. Props westonruter.

0.2

  • Eliminate PHP 5.3 requirement by removing namespaces and closures (#22)
  • Fix PHP_CodeSniffer issues according to the WordPress Coding Standards (#17), add to Travis and pre-commit
  • Add jshint to Travis and pre-commit hook (#17)
  • Improve pre-commit hook to optionally scan modified files

0.1.3

Fix handling of settings which contain PHP-serialized values; use customize_controls_enqueue_scripts action.

0.1.2

Correct method for updating customizer, by updating settings not by updating controls.

0.1.1

Eliminate strict standards notice Fix customizer control

0.1.0

First Release

Requires: 3.7 or higher
Compatible up to: 3.8.17
Last Updated: 2 years ago
Active Installs: 50+

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1