site-performance-tracker
site-performance-tracker copied to clipboard
Introduce a reliable API for plugin settings
Fixes #60.
Tasks
- [x] Move the plugin settings into a dedicated class to match the rest of the approach.
- [x] Introduce dedicated helpers for getting the formatted values.
- [x] Remove admin-specific CSS since it wasn't really needed. Rely on WP core classes and setting formatting.
- [ ] Avoid mutating the
Setting()instances when reading or saving data. - [ ] Resolve the GA tracking script logic from the ID syntax.