Support » Plugin: User Role Editor » New User Default Role

  • Resolved Tom Carroll

    (@twcarroll2)


    I’m using URE to set up a Pending user role (a copy of Subscriber), and a Moderator role (a copy of Subscriber, but with user capabilities).

    Once the new roles are created I return to my Settings > General page and set the New User Default Role to Pending via the dropdown box.

    However, this is not working. When I register a new account it sets the role to Subscriber.

    What am I doing wrong? Does WordPress only allow New User Default Role to be set to one of the original roles that come in WordPress?

    Thanks for any help you can provide!

    Tom

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Vladimir Garagulia

    (@shinephp)

    Hi Tom,

    Just re-tested this feature with a success.
    It’s possible to select as a default user role any user role, not only original one. WordPress does not see any differences between them in this relation.
    I registered new user account via front-end user registration page (wp-login.php?action=register) and via ‘Users->Add New’ page at admin back-end. New default role was selected as expected in both cases.

    Try to deactivate all plugins to isolate a potential conflict and re-test.

    Okay, I will try to do this and see if it changes anything. I don’t have any other plug-ins that touch the user roles. I’ll let you know what I find out.

    (sorry for the late reply. My site’s address changed, and I forgot to update my profile here.)

    Tom

    It was a plug-in modifying the role to ‘subscriber’ immediately after calling the wp_create_user () function.

    Plugin Author Vladimir Garagulia

    (@shinephp)

    Thanks for letting me know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘New User Default Role’ is closed to new replies.