Show error notice in admin when debugging is enabled

A lot of users, including developers, forget to disable WP_DEBUG after they finish troubleshooting. A simple error notice in admin would be a helpful reminder that debugging is enabled. We do that for all of our hosting customers. It’s very helpful, reminds me to disable it frequently.

I’ve seen debug.log files in GBs in size because people forget to disable it for years.

Read-only archive:

Author: Viktor Nagornyy

Vote count: 12

Status: open