WP_DEBUG=true is only on admin
-
On wp-config.php, there is e.g. WP_DEBUG=true. All of the users are seeing errors and warnings when I am fixing something. I don’t want the users too see that. So this is an minor irritating for the potensial common users.
I dont want to have WP_DEBUG_LOG=true either with text file. I want to see directly on errors and warnings. How can I have WP_DEBUG is true on logged in as admin, and WP_DEBUG is false on users?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WP_DEBUG=true is only on admin’ is closed to new replies.