Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1491 closed defect (bug) (fixed)

adminbar uses hardcoded strings in blog role check; ignores i18n

Reported by: djpaul's profile DJPaul Owned by:
Milestone: 1.2 Priority: major
Severity: Version:
Component: Keywords: i18n
Cc:

Description

bp-core-adminbar.php, in bp_adminbar_blogs_menu()
This line:

if ( !( 'Subscriber' == $role ) ) { then they have something to display on the flyout menu

$role is returned from get_blog_role_for_user() which the value could be translated.

Change History (4)

#1 @apeatling
14 years ago

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

This is an internal value, it's not translated since it is never displayed.

#2 @apeatling
14 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

I take that back, I've been drinking too much tea today.

#3 @apeatling
14 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.