Changed .htaccess Debug Lines
-
This plugin removed and replaced my debug if statements.
ORIGINAL
/*** — Turn on WP DEBUG Here — ***/
define( ‘WP_DEBUG’, false );
if (WP_DEBUG) {
define( ‘WP_DEBUG_DISPLAY’, true ); // true OR false
define( ‘SCRIPT_DEBUG’, true ); // true OR false, force WordPress to use the DEV versions of core CSS and JavaScript files rather than the minified versions
define( ‘SAVEQUERIES’, true ); // true causes each query to be saved, how long that query took to execute, and what function called it.
}
define( ‘WP_DEBUG_LOG’, $sitepath . ‘.hold/wp-errors.log’ ); // Create a hidden folder named .holdAfter activating the plugin:
/*** — Turn on WP DEBUG Here — ***/
if (WP_DEBUG) {
// true OR false
// true OR false, force WordPress to use the DEV versions of core CSS and JavaScript files rather than the minified versions
define( ‘SAVEQUERIES’, true ); // true causes each query to be saved, how long that query took to execute, and what function called it.
}
// Create a hidden folder named .hold
The topic ‘Changed .htaccess Debug Lines’ is closed to new replies.