- Timestamp:
- 03/27/2023 06:19:06 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-adminbar.php
r13395 r13442 33 33 $alert_class = (int) $count > 0 ? 'pending-count alert' : 'count no-alert'; 34 34 $menu_title = '<span id="ab-pending-notifications" class="' . $alert_class . '">' . number_format_i18n( $count ) . '</span>'; 35 $menu_link = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() ); 35 $notifications_slug = bp_get_notifications_slug(); 36 $custom_notifications_slug = bp_rewrites_get_slug( 'members', 'member_' . $notifications_slug, $notifications_slug ); 37 $menu_link = bp_loggedin_user_url( 38 array( 39 'single_item_component' => $custom_notifications_slug, 40 ) 41 ); 36 42 37 43 // Add the top-level Notifications button.
Note: See TracChangeset
for help on using the changeset viewer.