Changeset 2310
- Timestamp:
- 01/15/2010 03:02:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-adminbar.php
r2274 r2310 142 142 echo '<li' . $alt . '>'; 143 143 echo '<a href="' . $blog->siteurl . '">' . $blog->name . ' (' . $role . ')</a>'; 144 if ( !( 'Subscriber'== $role ) ) { // then they have something to display on the flyout menu144 if ( !( __( 'Subscriber', 'buddypress' ) == $role ) ) { // then they have something to display on the flyout menu 145 145 echo '<ul>'; 146 146 echo '<li class="alt"><a href="' . $blog->siteurl . 'wp-admin/">' . __('Dashboard', 'buddypress') . '</a></li>';
Note: See TracChangeset
for help on using the changeset viewer.