Changeset 7593 for trunk/bp-notifications/bp-notifications-loader.php
- Timestamp:
- 11/20/2013 09:58:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-notifications/bp-notifications-loader.php
r7546 r7593 107 107 $count = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); 108 108 $main_nav = array( 109 'name' => sprintf( __( 'Notifications <span>%d</span>', 'buddypress' ), number_format_i18n( $count ) ), 110 'slug' => $this->slug, 111 'position' => 30, 112 'screen_function' => 'bp_notifications_screen_unread', 113 'default_subnav_slug' => 'unread', 114 'item_css_id' => $this->id, 109 'name' => sprintf( __( 'Notifications <span>%d</span>', 'buddypress' ), number_format_i18n( $count ) ), 110 'slug' => $this->slug, 111 'position' => 30, 112 'show_for_displayed_user' => bp_core_can_edit_settings(), 113 'screen_function' => 'bp_notifications_screen_unread', 114 'default_subnav_slug' => 'unread', 115 'item_css_id' => $this->id, 115 116 ); 116 117
Note: See TracChangeset
for help on using the changeset viewer.