Changeset 8947 for trunk/src/bp-messages/bp-messages-notifications.php
- Timestamp:
- 08/20/2014 03:17:55 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-notifications.php
r8662 r8947 124 124 function messages_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) { 125 125 $total_items = (int) $total_items; 126 $link = trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/inbox' ); 127 $title = __( 'Inbox', 'buddypress' ); 126 128 127 129 if ( 'new_message' === $action ) { 128 $link = trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/inbox' );129 $title = __( 'Inbox', 'buddypress' );130 131 130 if ( $total_items > 1 ) { 132 131 $text = sprintf( __( 'You have %d new messages', 'buddypress' ), $total_items );
Note: See TracChangeset
for help on using the changeset viewer.