Make WordPress Core

Changeset 19681


Ignore:
Timestamp:
01/05/2012 07:43:40 AM (13 years ago)
Author:
dd32
Message:

Revert Debug cruft from [19679], See #19249

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/load.php

    r19679 r19681  
    261261        // E_DEPRECATED is a core PHP constant in PHP 5.3. Don't define this yourself.
    262262        // The two statements are equivalent, just one is for 5.3+ and for less than 5.3.
    263 //      if ( defined( 'E_DEPRECATED' ) )
    264 //          error_reporting( E_ALL & ~E_DEPRECATED & ~E_STRICT );
    265 //      else
    266             error_reporting( E_ALL | E_DEPRECATED | E_STRICT );
     263        if ( defined( 'E_DEPRECATED' ) )
     264            error_reporting( E_ALL & ~E_DEPRECATED & ~E_STRICT );
     265        else
     266            error_reporting( E_ALL );
    267267
    268268        if ( WP_DEBUG_DISPLAY )
Note: See TracChangeset for help on using the changeset viewer.