Either ask the user to set them, or at least wrap your own code into the if ( !defined() ) checks.
I'm talking about these:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', false );
define( 'WP_DEBUG_LOG', true );
Otherwise every app launch on a WP install just creates errors for me because I already have those constants set like that at the beginning of the file:
const WP_DEBUG = true;
const WP_DEBUG_LOG = true;
const WP_DEBUG_DISPLAY = true;
const SAVEQUERIES = true;
const SCRIPT_DEBUG = true;
Either ask the user to set them, or at least wrap your own code into the
if ( !defined() )checks.I'm talking about these:
Otherwise every app launch on a WP install just creates errors for me because I already have those constants set like that at the beginning of the file: