site-performance-tracker icon indicating copy to clipboard operation
site-performance-tracker copied to clipboard

Introduce a reliable API for plugin settings

Open kasparsd opened this issue 4 years ago • 0 comments

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.

kasparsd avatar Mar 13 '22 19:03 kasparsd