pento / testpress

Tool for helping you get a WordPress Core test environment up and running.
GNU General Public License v2.0
68 stars 2 forks source link

Don't trigger preferences_saved so often #22

Closed pento closed 6 years ago

pento commented 6 years ago

The preferences dialog triggers the preferences_saved every time a preference input value changes.

This is a problem for options that might need several changes. For example, changing the port from 9999 to 9998:

A couple of options worth thinking about:

pento commented 6 years ago

36 fixed this by only triggering the update when the element loses focus.