Created
October 3, 2012 20:26
-
-
Save jaredatch/3829628 to your computer and use it in GitHub Desktop.
Suppress debug info to Debug Bar only
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 | |
/** | |
* Suppress debug warnings and notices to the debug bar. | |
* Place the follow lines in your wp-config. | |
* | |
* Install the Debug Bar - http://wordpress.org/extend/plugins/debug-bar/ | |
* | |
* Other recommended Debug Bar add-ons: | |
* http://wordpress.org/extend/plugins/debug-bar-cron/ | |
* http://wordpress.org/extend/plugins/tdd-debug-bar-post-meta/ | |
* http://wordpress.org/extend/plugins/debug-bar-transients/ | |
* http://wordpress.org/extend/plugins/debug-bar-query-tracer/ | |
* http://wordpress.org/extend/plugins/debug-bar-template-trace/ | |
*/ | |
define('WP_DEBUG', true); | |
define('WP_DEBUG_DISPLAY', false); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment