Make WordPress Core

Ticket #5673: 5673.diff

File 5673.diff, 566 bytes (added by DD32, 17 years ago)
  • wp-admin/plugins.php

     
    1414                $valid = validate_plugin($plugin);
    1515                if ( is_wp_error($valid) )
    1616                        wp_die($valid);
     17                error_reporting( E_ALL ^ E_NOTICE );
     18                @ini_set('display_errors', true); //Ensure that Fatal errors are displayed.
    1719                include(ABSPATH . PLUGINDIR . '/' . $plugin);
    1820        } elseif ( 'deactivate' == $_GET['action'] ) {
    1921                check_admin_referer('deactivate-plugin_' . $_GET['plugin']);