Skip to content

Instantly share code, notes, and snippets.

@benhuson
Created April 1, 2014 16:49
Show Gist options
  • Select an option

  • Save benhuson/9918111 to your computer and use it in GitHub Desktop.

Select an option

Save benhuson/9918111 to your computer and use it in GitHub Desktop.
Sample snippets for wp-config.php
<?php
/**
* 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 );
define( 'WP_DEBUG_DISPLAY', false );
if ( WP_DEBUG ) {
define( 'WP_DEBUG_LOG', true );
define( 'SCRIPT_DEBUG', true );
define( 'SAVEQUERIES', true );
} else {
@ini_set( 'display_errors', 0 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment