wp-simple-saml icon indicating copy to clipboard operation
wp-simple-saml copied to clipboard

Role mapping does not `restore_current_blog()`

Open roborourke opened this issue 11 months ago • 1 comments

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.

roborourke avatar Jan 15 '25 08:01 roborourke

Oh wow, this is a very big problem.

rmccue avatar Jan 15 '25 09:01 rmccue