Exit after sending headers. fixes #1917
git-svn-id: http://svn.automattic.com/wordpress/trunk@3365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e4bc49b839
commit
7ff17cba43
|
@ -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