Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Luke Rumley

    (@lukerumley)

    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…

    Thread Starter Luke Rumley

    (@lukerumley)

    Glad to, go open source!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Allow Categories] Admin access broken in WordPress 3.3’ is closed to new replies.