We've seen an issue where ElasticPress filters are throwing out the 10up user queries. When the data is fed back to Support Monitor, it can be incorrect, causing issues with the SM alerting.
To get around this, we should disable ElasticPress on any user queries made within the SupportMonitor module, allowing WordPress to handle these queries in the standard way.
How to test the Change
Run a SM report and ensure that the query isn't running through EP.
Changelog Entry
Changed - 10up User reporting to Support Monitor now bypasses ElasticPress.
Description of the Change
We've seen an issue where ElasticPress filters are throwing out the 10up user queries. When the data is fed back to Support Monitor, it can be incorrect, causing issues with the SM alerting.
To get around this, we should disable ElasticPress on any user queries made within the SupportMonitor module, allowing WordPress to handle these queries in the standard way.
How to test the Change
Run a SM report and ensure that the query isn't running through EP.
Changelog Entry
Credits
Props @darylldoyle, @ivanlopez, @hugosolar
Checklist: