Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Role(s) not being set when Add or Updating a user #2592

Description

@tripflex

#2177

It seems the param was changed from role to roles to support multiple roles, but the merge above then sets role to false on wp_update_user call, with a label stating

"// setting roles will be handled outside of this function."

I don't see anything in that merge regarding the handling outside of that method, so i'm not really sure if this was overlooked, or forgotten about, as my debug went through entire process without any roles being updated, and I am 100% sure the value was available in the $request array, even tried a single string, and CSV without any luck.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions