[wp-trac] [WordPress Trac] #11987: Incorrect handling of WP_DEBUG_DISPLAY
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 16 14:43:04 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: has-patch dev-feedback |
------------------------------------+---------------------------------------
Comment(by miqrogroove):
Replying to [comment:7 adam.spiers]:
> So the original intent was to
>
> * (a) enable {{{display_errors}}} by default when {{{WP_DEBUG}}} is
true, but also
> * (b) allow disabling of {{{display_errors}}}.
This is not correct either. The WP_DEBUG_DISPLAY constant allows you to
use the server's default display_errors setting in WordPress. That is its
only purpose. If you set it to TRUE or do not define it, then WordPress
will always turn on display_errors, as you pointed out.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11987#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list