Last active
January 3, 2024 20:31
-
-
Save gregrickaby/e79f205db2a94ce9357f to your computer and use it in GitHub Desktop.
WordPress Debugging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// DO NOT INCLUDE THE OPENING PHP TAG | |
/** | |
* For developers: WordPress debugging mode. | |
* | |
* Change this to true to enable the display of notices during development. | |
* It is strongly recommended that plugin and theme developers use WP_DEBUG | |
* in their development environments. | |
*/ | |
define('WP_DEBUG', true); | |
if ( WP_DEBUG ) { | |
define('WP_CACHE', false); | |
define('SCRIPT_DEBUG', true); | |
define('JETPACK_DEV_DEBUG', true); | |
define('WP_DEBUG_LOG', false); | |
define('WP_DEBUG_DISPLAY', true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment