Make WordPress Core


Ignore:
Timestamp:
08/13/2011 06:59:05 PM (15 years ago)
Author:
nacin
Message:

Force display_errors to off when WP_DEBUG_DISPLAY == false. Technically a backwards incompatible change - if you want the passthrough to php.ini (which false used to provide) then use WP_DEBUG_DISPLAY === null. see #18391.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-constants.php

    r17804 r18545  
    5050                define( 'WP_DEBUG', false );
    5151
    52         // Add define('WP_DEBUG_DISPLAY', false); to wp-config.php use the globally configured setting for display_errors and not force errors to be displayed.
     52        // Add define('WP_DEBUG_DISPLAY', null); to wp-config.php use the globally configured setting for
     53        // display_errors and not force errors to be displayed. Use false to force display_errors off.
    5354        if ( !defined('WP_DEBUG_DISPLAY') )
    5455                define( 'WP_DEBUG_DISPLAY', true );
Note: See TracChangeset for help on using the changeset viewer.