#1491 closed defect (bug) (fixed)
adminbar uses hardcoded strings in blog role check; ignores i18n
Reported by: | 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)
Note: See
TracTickets for help on using
tickets.
This is an internal value, it's not translated since it is never displayed.