Skip to:
Content

bbPress.org

Opened 5 years ago

Closed 3 years ago

#2737 closed enhancement (duplicate)

Add user roles as classes in author meta areas

Reported by: johnjamesjacoby Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.1
Component: API - Roles/Capabilities Keywords: needs-patch
Cc:

Description

In bbp_get_reply_author_role() and bbp_get_topic_author_role() we should add each role the user has as a class to the wrapper element, so specific roles can be target with different styling.

See: https://bbpress.org/forums/topic/modifying-username-colors-based-on-role/

Change History (4)

#1 follow-up: @Robkk
5 years ago

  • Summary changed from Add user roles ass classes in author meta areas to Add user roles as classes in author meta areas

#2 @netweb
5 years ago

  • Milestone 2.7 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate #2692

#3 in reply to: ↑ 1 @tronix-ex
3 years ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened
  • Version 2.1 deleted

Replying to Robkk:

Where to change this?

#4 @netweb
3 years ago

  • Resolution set to duplicate
  • Status changed from reopened to closed
  • Version set to 2.1

@tronix-ex Please don't change ticket status or reopen closed tickets, you can add a comment without having to reopen tickets.

Please see the #2692 for further information on this.

Note: See TracTickets for help on using tickets.