[wp-trac] [WordPress Trac] #11987: Incorrect handling of WP_DEBUG_DISPLAY
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 16 13:58:01 UTC 2010
#11987: Incorrect handling of WP_DEBUG_DISPLAY
--------------------------+-------------------------------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution:
Keywords: WP_DEBUG |
--------------------------+-------------------------------------------------
Comment(by miqrogroove):
Replying to [comment:5 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.
I have to agree with Adam, I think nacin was asleep at the wheel when he
wrote that reply. Maybe he can revise his comments?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11987#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list