[wp-trac] [WordPress Trac] #11987: Incorrect handling of WP_DEBUG_DISPLAY

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 25 22:23:42 UTC 2010


#11987: Incorrect handling of WP_DEBUG_DISPLAY
--------------------------+-------------------------------------------------
 Reporter:  ocean90       |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:          
Component:  General       |      Version:  3.0     
 Severity:  normal        |   Resolution:          
 Keywords:  WP_DEBUG      |  
--------------------------+-------------------------------------------------

Comment(by nacin):

 No, in wp-includes/load.php (not wp-load.php):
 {{{
 if ( WP_DEBUG_DISPLAY )
    ini_set('display_errors', 1);
 }}}

 If you {{{define('WP_DEBUG_DISPLAY', false);}}}, then the default server
 setting will not be overridden. At no time does WP ever override
 display_errors off. It only forces it on when {{{WP_DEBUG}}} unless
 specified otherwise.

 Thanks for the note on the typo in the inline docs, I'll take care of that
 in #11881.

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


More information about the wp-trac mailing list