Changeset 5729 for trunk/bp-friends/bp-friends-activity.php
- Timestamp:
- 02/11/2012 09:32:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-activity.php
r5712 r5729 83 83 84 84 // Set up the string and the filter 85 if ( (int) $total_items > 1 ) {86 $text = sprintf( __( '%d friends accepted your friendship requests', 'buddypress' ), (int) $total_items );85 if ( (int) $total_items > 1 ) { 86 $text = sprintf( __( '%d friends accepted your friendship requests', 'buddypress' ), (int) $total_items ); 87 87 $filter = 'bp_friends_multiple_friendship_accepted_notification'; 88 88 } else { … … 97 97 98 98 // Set up the string and the filter 99 if ( (int) $total_items > 1 ) {100 $text = sprintf( __( 'You have %d pending friendship requests', 'buddypress' ), (int) $total_items );99 if ( (int) $total_items > 1 ) { 100 $text = sprintf( __( 'You have %d pending friendship requests', 'buddypress' ), (int) $total_items ); 101 101 $filter = 'bp_friends_multiple_friendship_request_notification'; 102 102 } else { … … 110 110 // Return either an HTML link or an array, depending on the requested format 111 111 if ( 'string' == $format ) { 112 $return = apply_filters( $filter, '<a href="' . $link . '">' . $text . '</a>', (int) $total_items );112 $return = apply_filters( $filter, '<a href="' . $link . '">' . $text . '</a>', (int) $total_items ); 113 113 } else { 114 114 $return = apply_filters( $filter, array(
Note: See TracChangeset
for help on using the changeset viewer.