Change WordPress user roles and capabilities Forums Bug Reports primary role not retrieved when changing capabilities Reply To: primary role not retrieved when changing capabilities

#5439

I was also trying to update the website as per my other requests
according to this topic.

It seems that the code snippet in the post above is solving the current bug : it removes the dropdown to choose the main role, which is fine and also solve this issue. My assumption is that there is no need to display the primary role, hence there are no error to display it, hence there is no change in the dropdown, and the primary role is kept as-is which was my original goals.

I still don’t know why the primary role was not displayed correctly as first, if you want to investigate, feel free to liaise with me