I don't have the admin privliges for my admin accout, can not create/edit blogs or user and there is no option for plugin available, and site admin button is also not available
I don't have the admin privliges for my admin accout, can not create/edit blogs or user and there is no option for plugin available, and site admin button is also not available
Did you upgrade recently? Perhaps using the package for single WP? :)
i just reuploaded the new wmpu keeping the old database, and problem still exist,it shows blogs, but still no privliges
how to enable plugin using database??
please help me out
it is problem with the is_site_admin() function, which is always returning false for me, why??
it just reads the whole function and return the last false;
so the problem is with
$site_admins = get_site_option( 'site_admins', array('admin') );
if( is_array( $site_admins ) && in_array( $user_login, $site_admins ) )
return true;
how to rewrite it and i am the only admin, so i want it to check only my name and not the whole array
Are you logging in as the user "admin" or did you change it?
i added follwing lines
if($user_ID == 1 || $user_email == 'my email')
return true;
and it is working fine now