You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Status Report page is supposed to show messages from an EPIO endpoint, and count indicating the number of messages is displayed next to the admin menu item. The problem is that a message count is being showing for non-ElasticPress.io users, as the error response when checking for messages is being counted as messages.
The ElasticPressIo::get_endpoint_messages() method needs to be updated to not bother making the request is Utils\is_epio() is false, and to ignore non-200 responses.
Steps to Reproduce
Connect ElasticPress to self-hosted Elasticsearch.
Go to ElasticPress > Status Report. No messages will be displayed, but a count will be shown next to the admin menu item.
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress and ElasticPress information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
The Status Report page is supposed to show messages from an EPIO endpoint, and count indicating the number of messages is displayed next to the admin menu item. The problem is that a message count is being showing for non-ElasticPress.io users, as the error response when checking for messages is being counted as messages.
The
ElasticPressIo::get_endpoint_messages()
method needs to be updated to not bother making the request isUtils\is_epio()
isfalse
, and to ignore non-200 responses.Steps to Reproduce
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress and ElasticPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: