From 8db1e81228b0e295199f6e3ee8a99d223c48f8c2 Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 27 Jun 2006 11:03:10 +0000 Subject: WP Merge git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@599 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/plugin-editor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wp-admin/plugin-editor.php') diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index 56bab5a..4c3c600 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -45,9 +45,9 @@ case 'update': $f = fopen($real_file, 'w+'); fwrite($f, $newcontent); fclose($f); - header("Location: plugin-editor.php?file=$file&a=te"); + wp_redirect("plugin-editor.php?file=$file&a=te"); } else { - header("Location: plugin-editor.php?file=$file"); + wp_redirect("plugin-editor.php?file=$file"); } exit(); -- cgit