Opened 12 years ago
Closed 12 years ago
#2248 closed enhancement (fixed)
User Display Role Should be More Dynamic
Reported by: | alex-ye | Owned by: | |
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | 2.2.3 |
Component: | Component - Users | Keywords: | has-patch |
Cc: |
Description
Hi , I think the title is clear , the current user display role function doesn't display the roles like "spam" , and if you add more user roles by yourself you must filter the bbp_get_user_display_role() to display it publicly .
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [4793]) Introduce bbp_get_dynamic_role_name() to handle getting a translated role name from the dynamic roles array. Use this to return a more accurate display role in bbp_get_user_display_role(). Hat tip alex-ye. Fixes #2248.