[buddypress-trac] [BuddyPress] #1491: adminbar uses hardcoded strings in blog role check; ignores i18n

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Dec 22 21:00:39 UTC 2009


#1491: adminbar uses hardcoded strings in blog role check; ignores i18n
-------------------+--------------------------------------------------------
Reporter:  DJPaul  |       Owner:     
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:  1.2
Keywords:  i18n    |  
-------------------+--------------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1491>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list