WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/12/2011 09:21:13 AM (11 years ago)
Author:
nacin
Message:

Remove more E_RECOVERABLE_ERROR checks. props duck_, see #16920.

File:
1 edited

Legend:

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

    r17613 r17632  
    272272        }
    273273    } else {
    274         if ( defined( 'E_RECOVERABLE_ERROR' ) )
    275             error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
    276         else
    277             error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING );
     274        error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
    278275    }
    279276}
Note: See TracChangeset for help on using the changeset viewer.