Changeset 7545
- Timestamp:
- 11/09/2013 03:16:01 PM (11 years ago)
- Location:
- trunk/bp-notifications
- Files:
-
- 2 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 } -
trunk/bp-notifications/bp-notifications-loader.php
r7544 r7545 27 27 BP_PLUGIN_DIR, 28 28 array( 29 'adminbar_myaccount_order' => 10029 'adminbar_myaccount_order' => 30 30 30 ) 31 31 ); … … 109 109 'name' => sprintf( __( 'Notifications <span>%d</span>', 'buddypress' ), number_format_i18n( $count ) ), 110 110 'slug' => $this->slug, 111 'position' => 60,111 'position' => 30, 112 112 'screen_function' => 'bp_notifications_screen_unread', 113 113 'default_subnav_slug' => 'unread',
Note: See TracChangeset
for help on using the changeset viewer.