Description of function _user_features_get_roles() in includes/features.user.inc states:
Generate $rid => $role with role names untranslated.
This may not be true as query in function user_roles() adds tag translatable.
So role names returned by user_roles() might be translated.
Patch below fixes this by using its own query.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | _user_features_get_roles_ensure_untranslated-3243354-2.patch | 1.15 KB | anrikun |
Comments
Comment #2
anrikun commentedComment #3
anrikun commentedComment #4
anrikun commentedComment #5
anrikun commentedComment #7
joseph.olstad