humanmade / humanmade/wp-simple-saml

Role mapping does not `restore_current_blog()`

Open
#90 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
125
Forks
37
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.