Exit after sending headers. fixes #1917

git-svn-id: https://develop.svn.wordpress.org/trunk@3365 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-12-28 00:16:40 +00:00
parent 8a629a0663
commit 2628a27ef4
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ if ( isset($_GET['action']) ) {
do_action('deactivate_' . trim( $_GET['plugin'] )); do_action('deactivate_' . trim( $_GET['plugin'] ));
header('Location: plugins.php?deactivate=true'); header('Location: plugins.php?deactivate=true');
} }
exit;
} }
$title = __('Manage Plugins'); $title = __('Manage Plugins');