Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update.php

    r16860 r17632  
    8383            echo '<p>' . __('Plugin failed to reactivate due to a fatal error.') . '</p>';
    8484
    85             if ( defined('E_RECOVERABLE_ERROR') )
    86                 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);
    87             else
    88                 error_reporting(E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING);
    89 
     85            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 );
    9086            @ini_set('display_errors', true); //Ensure that Fatal errors are displayed.
    9187            include(WP_PLUGIN_DIR . '/' . $plugin);
Note: See TracChangeset for help on using the changeset viewer.