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:
parent
8a629a0663
commit
2628a27ef4
@ -21,6 +21,7 @@ if ( isset($_GET['action']) ) {
|
||||
do_action('deactivate_' . trim( $_GET['plugin'] ));
|
||||
header('Location: plugins.php?deactivate=true');
|
||||
}
|
||||
exit;
|
||||
}
|
||||
|
||||
$title = __('Manage Plugins');
|
||||
|
Loading…
Reference in New Issue
Block a user