Uses a mixture of role name and role display name to compare
-
I added a role named
team-member
with the display nameTeam Member
but none of the users with this role would show up whenTeam Member
was selected. Looking into this further, it seems that the plugin is saving the role display name instead of the role name (slug) in the database. It is also using the display name (in the check boxes) to compare with the role names (in the user list) so it could not find the correct items in the list.I have modified the plugin myself to fix this issue so that it displays roles using the display name but uses only the role name in the database and to compare with items in the list. Unfortunately this took more than just a few lines to fix so I can’t post here but feel free to contact me and I can send you the modified files.
- The topic ‘Uses a mixture of role name and role display name to compare’ is closed to new replies.