Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: set default Role of new user


buzz_lightyear
Participant

@buzz_lightyear

Hi all,

i had the very same problem at http://buzzdev.org that default role on main blog was ignored for new user signups.

I am running plain WPMU 2.7

Looked into the source code and solved the problem by editing wpmu-functions.php at line 672 (function “add_user_to_blog”):

//$user->set_role($role);
$user->set_role(get_option("default_role"));

Now whatever default_role i set in wpmu/options.php it gets applied to new user registrations.

take care

buzz

http://buzzdev.net

http://buzzdev.org (wpmu test)

Skip to toolbar