Any particular reason that the UI for WordPress only allows for the selection of one role at a time when the backend functionality allows for the selection of multiple roles?
This is a problem because a plug-in I'm using (Gravity Forms) uses $user->add_role(), which gives the user two different roles. However the Super Admin screen for site details (ms-sites.php) doesn't know how to handle multiple roles for a given user. It only provides a drop down menu which means single select, not multi-select.
Anyone have any thoughts?
A random note in any WP core developers are reading this, the users.php page doesn't allow multi-select, however it does handle the information in the database better. If any unknown role is in the database along side a known role, the users.php will display the known role. The ms-sites.php page will show the known role only if it is listed first in the array of multiple roles. If the unknown role is in the first position of the array, then ms-sites.php will set the drop down menu to Administrator. So, if you go to ms-sites.php to make another edit on the page, and you aren't paying attention, you could accidentally make someone an administrator.