Redirect if no action is set. Props Viper007Bond. fixes #2619
git-svn-id: https://develop.svn.wordpress.org/trunk@3674 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d521544868
commit
f16c66b3d6
|
@ -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