Ticket #5673: 5673.diff
File 5673.diff, 566 bytes (added by , 17 years ago) |
---|
-
wp-admin/plugins.php
14 14 $valid = validate_plugin($plugin); 15 15 if ( is_wp_error($valid) ) 16 16 wp_die($valid); 17 error_reporting( E_ALL ^ E_NOTICE ); 18 @ini_set('display_errors', true); //Ensure that Fatal errors are displayed. 17 19 include(ABSPATH . PLUGINDIR . '/' . $plugin); 18 20 } elseif ( 'deactivate' == $_GET['action'] ) { 19 21 check_admin_referer('deactivate-plugin_' . $_GET['plugin']);