xwp / wp-settings-revisions

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

Auto-open “Settings Revisions” Customizer section? #6

Open westonruter opened 11 years ago

westonruter commented 11 years ago

There needs to be a better way to call-out the Comment field so that it gets filled out each time that the settings are saved. This could be done by auto-opening the section when the page is first loaded, or the field could be moved outside of the section entirely to some higher level in the sidebar.

The former could be hacked via:

control.container.closest('.control-section').find('.accordion-section-title:first').click();

The section's heading could automatically update to reflect the comment.