mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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
This commit is contained in:
parent
33210aaf9e
commit
f5e88cd3d5
@ -140,6 +140,8 @@ case 'delete':
|
||||
break;
|
||||
|
||||
default:
|
||||
header('Location: edit-pages.php');
|
||||
exit();
|
||||
break;
|
||||
} // end switch
|
||||
include('admin-footer.php');
|
||||
|
Loading…
Reference in New Issue
Block a user