Skip to:
Content

bbPress.org

Opened 8 years ago

Closed 8 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)

users-template-tags.patch (2.1 KB) - added by alex-ye 8 years ago.

Download all attachments as: .zip

Change History (3)

#1 @johnjamesjacoby
8 years ago

  • Milestone changed from Awaiting Review to 2.3

#2 @johnjamesjacoby
8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(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.

Note: See TracTickets for help on using tickets.