This is ready for you to test and review. Once you sign off that nothing is broken, we can submit the plugin to VIP. Some key highlights of what was done here with helpful links for future maintenance:
Removed add_option calls that were running on every page view and moved the logic to the config form to set default values.
Completely rewrote the results page to use underscores templates. Direct HTML output from Javascript is considered non-output safe.
Please let us know if you have any questions and if you run into issues during testing. I would suggest submitting any updates you make via pull requests back to your master branch so we can review them up to the point of VIP submission to ensure everything stays in line with coding standards.
This is ready for you to test and review. Once you sign off that nothing is broken, we can submit the plugin to VIP. Some key highlights of what was done here with helpful links for future maintenance:
add_option
calls that were running on every page view and moved the logic to the config form to set default values.Please let us know if you have any questions and if you run into issues during testing. I would suggest submitting any updates you make via pull requests back to your master branch so we can review them up to the point of VIP submission to ensure everything stays in line with coding standards.
Thanks.