--- old_plugins.php Mon Mar 7 22:37:10 2005 +++ plugins.php Mon Mar 7 22:19:23 2005 @@ -11,6 +11,7 @@ if ( isset($_GET['action']) ) { } sort($current); update_option('active_plugins', $current); + do_action('plugin_activate', ''); header('Location: plugins.php?activate=true'); } @@ -18,6 +19,7 @@ if ( isset($_GET['action']) ) { $current = get_settings('active_plugins'); array_splice($current, array_search( $_GET['plugin'], $current), 1 ); // Array-fu! update_option('active_plugins', $current); + do_action('plugin_deactivate', ''); header('Location: plugins.php?deactivate=true'); } }