Last active
November 7, 2016 10:58
-
-
Save alanpilloud/90ecbc8df965cf78fa4f to your computer and use it in GitHub Desktop.
usefull config options #wp
This file contains 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 | |
define('DISALLOW_FILE_EDIT', true); | |
define('WP_DEBUG', true); | |
define('WP_AUTO_UPDATE_CORE', false); | |
define('WP_POST_REVISIONS', false ); | |
if ( WP_DEBUG ) { | |
define( 'WP_DEBUG_LOG', true ); //Log errors in a file | |
define( 'WP_DEBUG_DISPLAY', false ); //blocks message display on the website | |
define('SAVEQUERIES', true); //Save MySql queries in the global var $wpdb->queries | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment