wp-simple-saml
wp-simple-saml copied to clipboard
Role mapping does not `restore_current_blog()`
The map_user_roles() function does not restore_current_blog() after looping over the sites, which might cause problems with subsequent logic that checks the current blog ID and whether the user is a member.
Oh wow, this is a very big problem.