Nice work, thanks. Easy to read and tweak for me.
Maybe consider adding a ‘role’ dropdown in the future? That was the part I edited.
Thanks again,
Jack
Hi,
It should redirect any admin page at the moment – that is what the admin_init hook is meant to do. So it is not determined by whether the path includes wp-admin, but whether wordpress believes it is an admin page or not.
I will think up a way to add exceptions 🙂
Roles is the next thing in my list to do..
I am having the same issue as paulbm-uk. That plugin is broken for me in two separate installs of 2.8