From d02d4a9319761cd4334687f6b5ede0c2dee7ec7e Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 4 Apr 2006 00:12:43 +0000 Subject: [PATCH] Redirect if no action given. git-svn-id: http://svn.automattic.com/wordpress/trunk@3683 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/post.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/post.php b/wp-admin/post.php index 46c0ff9a5..0954ec247 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -146,6 +146,8 @@ case 'delete': break; default: + header('Location: edit.php'); + exit(); break; } // end switch include('admin-footer.php');