xwp / site-performance-tracker

Allows you to detect and track site performance metrics
GNU General Public License v2.0
96 stars 15 forks source link

Move plugin settings procedural code into a class #60

Closed kasparsd closed 1 year ago

kasparsd commented 2 years ago

Move https://github.com/xwp/site-performance-tracker/blob/16931538f90de1d20a1c012f62cc854436dd4ec2/php/views/settings.php into something like php/src/class-settings.php which is bootstrapped during:

https://github.com/xwp/site-performance-tracker/blob/16931538f90de1d20a1c012f62cc854436dd4ec2/php/src/class-plugin.php#L75-L90

schlessera commented 1 year ago

Fixed via #61