[wp-hackers] DEBUG config and blocking notices
scribu
scribu at gmail.com
Fri Jul 16 15:07:24 UTC 2010
On Fri, Jul 16, 2010 at 6:04 PM, Andrew Gray <andrew at graymerica.com> wrote:
> Does anyone have a good solutions to have wordpress only show fatal errors
> and not show Notices when I turn the wp-config DEBUG variable on.
>
Well, you could use PHP's error_reporting() function directly.
Also, adding ini_set('display_errors', true); is usually enough.
--
http://scribu.net
More information about the wp-hackers
mailing list