Changeset 4623
- Timestamp:
- 07/06/2011 08:05:40 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
bp-friends/bp-friends-activity.php (modified) (2 diffs)
-
bp-messages/bp-messages-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-activity.php
r4620 r4623 52 52 add_action( 'bp_register_activity_actions', 'friends_register_activity_actions' ); 53 53 54 /** 55 * Format the BuddyBar/admin bar notifications for the Friends component 56 * 57 * @package BuddyPress 58 * 59 * @param str $action The kind of notification being rendered 60 * @param int $item_id The primary item id 61 * @param int $secondary_item_id The secondary item id 62 * @param int $total_items The total number of messaging-related notifications waiting for the user 63 * @param str $format 'string' for BuddyBar-compatible notifications; 'array' for WP Admin Bar 64 */ 54 65 function friends_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) { 55 66 global $bp; … … 57 68 switch ( $action ) { 58 69 case 'friendship_accepted': 59 $link = bp_loggedin_user_domain() . $bp->friends->slug. '/my-friends/newest';70 $link = bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/newest'; 60 71 61 72 // Set up the string and the filter -
trunk/bp-messages/bp-messages-functions.php
r4622 r4623 244 244 $return = apply_filters( $filter, array( 245 245 'text' => $text, 246 'link' => $ at_mention_link247 ), $ at_mention_link, (int)$total_items, $text, $link );246 'link' => $link 247 ), $link, (int)$total_items, $text, $link ); 248 248 } 249 249
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)