I am suspecting function allow_notAdmin() but I haven't figured it out exactly yet.
I am suspecting function allow_notAdmin() but I haven't figured it out exactly yet.
OK, I am able to edit as an admin again. Here is what I changed (right or wrong):
function allow_notAdmin() {
global $userdata;
get_currentuserinfo();
if (Allow_Category::allow_loggedIn()) {
// OLD: return ($userdata->user_level < 10);
// NEW:
return !is_super_admin($userdata->ID);
} else {
return true;
}
}Luke! Awesome addition to the community, man. Confirming that this fix works great in WP3.2/3.3.
Thanks for posting...
Glad to, go open source!
You must log in to post.