johnbillion / query-monitor

The developer tools panel for WordPress
https://querymonitor.com
GNU General Public License v2.0
1.6k stars 211 forks source link

Make settings constants filterable #747

Closed tillkruss closed 1 year ago

tillkruss commented 1 year ago

Useful for Object Cache Pro.

johnbillion commented 1 year ago

Thanks for the PR. Any particular reason for doing this in the dispatcher instead of the collector?

tillkruss commented 1 year ago

I'm indifferent, just placed it close to the constants.

johnbillion commented 1 year ago

I just realised these constants don't even have a collector, it's just part of the HTML dispatcher. So ignore my question :D