Wordpress Debug Config


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /** Debugging WP */
  2. define('WP_DEBUG', true); //enable the reporting of notices during development - E_ALL
  3. define('WP_DEBUG_DISPLAY', true); //use the globally configured setting for display_errors and not force errors to be displayed
  4. define('WP_DEBUG_LOG', true); //error logging to wp-content/debug.log
  5. define('SCRIPT_DEBUG', true); //loads the development (non-minified) versions of all scripts and CSS and disables compression and concatenation,
  6. define('E_DEPRECATED', false); //E_ALL & ~E_DEPRECATED & ~E_STRICT
  7.  
  8. define('AUTOSAVE_INTERVAL', '300'); // Autosave interval
  9. define('SAVEQUERIES', true); // Analyse queries
  10. define('WP_POST_REVISIONS', false);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.