[wp-trac] Re: [WordPress Trac] #5033: Better error_reporting and a
debug mode
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 21 19:35:32 GMT 2007
#5033: Better error_reporting and a debug mode
-------------------------------------------------------------------------------+
Reporter: ozh | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.4
Component: Optimization | Version:
Severity: normal | Resolution:
Keywords: debug error_reporting e_all e_notice notice has-patch 2nd-opinion |
-------------------------------------------------------------------------------+
Comment (by santosj):
I think it should be:
{{{
if (defined('WPPRODUCTION') && ( true == WPPRODUCTION ) ) {
error_reporting(0);
} else {
error_reporting(E_ALL);
}
}}}
And have in the config.php
{{{
WPPRODUCTION = true;
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/5033#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list