[wp-trac] Re: [WordPress Trac] #10202: Enable display_errors if WP_DEBUG is true

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 18 00:10:49 GMT 2009


#10202: Enable display_errors if WP_DEBUG is true
------------------------------+---------------------------------------------
 Reporter:  sivel             |       Owner:           
     Type:  enhancement       |      Status:  new      
 Priority:  normal            |   Milestone:  2.8.1    
Component:  Warnings/Notices  |     Version:  2.8      
 Severity:  normal            |    Keywords:  has-patch
------------------------------+---------------------------------------------

Comment(by Denis-de-Bernardy):

 also:


 {{{
         if ( defined('WP_DEBUG_LOG') && WP_DEBUG_LOG == true ) {
         209                     ini_set('log_errors', 1);
         210                     ini_set('error_log', ABSPATH .
 'debug.log');
         211             }
 }}}

 should probably go into WP_CONTENT_DIR (which usually is wrtiable as
 opposed to ABSPATH)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10202#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list