10up / 10up-experience

The 10up Experience plugin configures WordPress to better protect and inform clients, aligned to 10up’s best practices.
GNU General Public License v2.0
129 stars 27 forks source link

Fix/autoload options #139

Closed darylldoyle closed 1 year ago

darylldoyle commented 1 year ago

Description of the Change

This update changes the tenup_support_monitor_log option to not be part of the autoload options. It also adds some logic to reduce the size of the debug log to ensure it doesn't go over 1mb in total size as that could mess with caching solutions.

The 1mb is changeable via a filter.

Closes #138

How to test the Change

See steps in #138

Changelog Entry

Fixed - Issue with autoloaded debug option

Credits

Props @tott @darylldoyle

Checklist: