mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 02:49:04 +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;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
header('Location: edit-pages.php');
|
||||||
|
exit();
|
||||||
break;
|
break;
|
||||||
} // end switch
|
} // end switch
|
||||||
include('admin-footer.php');
|
include('admin-footer.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user