Skip to content

Instantly share code, notes, and snippets.

@ArnaudBan
Last active December 26, 2015 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArnaudBan/7133049 to your computer and use it in GitHub Desktop.
Save ArnaudBan/7133049 to your computer and use it in GitHub Desktop.
Les constantes dans WordPress
/*
* WordPress debug
* http://codex.wordpress.org/Debugging_in_WordPress
*/
define('WP_DEBUG', true);
// Log the error in wp_content/debug.log
define('WP_DEBUG_LOG', true);
// Show error only in debug.log
define('WP_DEBUG_DISPLAY', false);
// Deactive the files editor for more security
define("DESALLOW_FILE_EDIT", true);
// Jetpack local mode
define( 'JETPACK_DEV_DEBUG', true);
more : http://wpengineer.com/2382/wordpress-constants-overview/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment