#1491 closed defect (bug) (fixed)
adminbar uses hardcoded strings in blog role check; ignores i18n
| Reported by: | DJPaul | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2 |
| Component: | Version: | ||
| Severity: | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This is an internal value, it's not translated since it is never displayed.