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-admin/plugins.php

    r17322 r17632  
    138138
    139139            if ( ! WP_DEBUG ) {
    140                 if ( defined('E_RECOVERABLE_ERROR') )
    141                     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);
    142                 else
    143                     error_reporting(E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING);
     140                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 );
    144141            }
    145142
Note: See TracChangeset for help on using the changeset viewer.