[wp-trac] Re: [WordPress Trac] #5033: Better error_reporting and a debug mode

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 21 22:07:18 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):

 {{{
 if (defined('WPDEBUG') && ( true == WPDEBUG) ) {
    error_reporting(E_ALL);
 } else {
    error_reporting(0);
 }
 }}}

 Oh yeah. Assume Production, unless stated otherwise in config.php.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5033#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list