vip-go-mu-plugins
vip-go-mu-plugins copied to clipboard
Set severity level for VIP_Request_Block messages.
Expected/Desired Behavior
I think it would be nice if we switched the VIP_Request_Block
class from using error_log()
to trigger_error( $message, E_USER_NOTICE )
so that request blocking messages could be easily filtered out of the error logs.
Actual Behavior
We currently just ship out the message without a severity, making filtering harder to do when sorting through many messages.
PRs welcome. I think it should be E_USER_WARNING
though?
This issue has been marked stale because it has been open for 60 days with no activity. If there is no activity within 7 days, it will be closed.
This is an automation to keep issues manageable and actionable and is not a comment on the quality of this issue nor on the work done so far. Closed issues are still valuable to the project and are available to be searched.