From f5e88cd3d560c2d888bbc3908c9bd3752c7e9534 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 1 Apr 2006 23:02:01 +0000 Subject: [PATCH] Redirect if no action is set. Props Viper007Bond. fixes #2619 git-svn-id: http://svn.automattic.com/wordpress/trunk@3674 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/page.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/page.php b/wp-admin/page.php index 66bdae42a6..5110ae3e47 100644 --- a/wp-admin/page.php +++ b/wp-admin/page.php @@ -140,6 +140,8 @@ case 'delete': break; default: + header('Location: edit-pages.php'); + exit(); break; } // end switch include('admin-footer.php');