Skip to content

Instantly share code, notes, and snippets.

@gregrickaby
Last active January 3, 2024 20:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gregrickaby/e79f205db2a94ce9357f to your computer and use it in GitHub Desktop.
Save gregrickaby/e79f205db2a94ce9357f to your computer and use it in GitHub Desktop.
WordPress Debugging
<?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