Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34074, comment 3


Ignore:
Timestamp:
12/15/2015 05:58:55 AM (9 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34074, comment 3

    initial v1  
    11This one is interesting.
    22
    3 `WP_DEBUG` is false by default. Allowing `define( 'WP_DEBUG_DISPLAY', false );`` to turn off `display_errors` when `WP_DEBUG` is *off* does not make a lot of sense to me. The `WP_DEBUG_DISPLAY` constants is already pretty magical, as it's a boolean but actually has three states.
     3`WP_DEBUG` is false by default. Allowing `define( 'WP_DEBUG_DISPLAY', false );` to turn off `display_errors` when `WP_DEBUG` is *off* does not make a lot of sense to me. The `WP_DEBUG_DISPLAY` constants is already pretty magical, as it's a boolean but actually has three states.
    44
    55I think what is being proposed is this: