Changeset 7545 for trunk/bp-notifications/bp-notifications-adminbar.php
- Timestamp:
- 11/09/2013 03:16:01 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-notifications/bp-notifications-adminbar.php
r7521 r7545 29 29 $alert_class = (int) $count > 0 ? 'pending-count alert' : 'count no-alert'; 30 30 $menu_title = '<span id="ab-pending-notifications" class="' . $alert_class . '">' . $count . '</span>'; 31 $menu_link = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() ); 31 32 32 33 // Add the top-level Notifications button … … 35 36 'id' => 'bp-notifications', 36 37 'title' => $menu_title, 37 'href' => bp_loggedin_user_domain(),38 'href' => $menu_link, 38 39 ) ); 39 40 … … 52 53 'id' => 'no-notifications', 53 54 'title' => __( 'No new notifications', 'buddypress' ), 54 'href' => bp_loggedin_user_domain(),55 'href' => $menu_link, 55 56 ) ); 56 57 }
Note: See TracChangeset
for help on using the changeset viewer.