Ticket #8136: 8136-1.patch
| File 8136-1.patch, 1.6 KB (added by , 7 years ago) |
|---|
-
src/bp-friends/bp-friends-notifications.php
79 79 * 80 80 * @since 1.0.0 81 81 * 82 * @param string|array $value Depending on format, an HTML link to new requests profile 83 * tab or array with link and text. 84 * @param int $total_items The total number of messaging-related notifications 85 * waiting for the user. 86 * @param int $item_id The primary item ID. 82 * @param string|array $value Depending on format, an HTML link to new requests profile tab or array with link and text. 83 * @param int $total_items The total number of messaging-related notifications waiting for the user. 84 * @param int $item_id The primary item ID. 85 * @param int $secondary_item_id The secondary item ID. 87 86 */ 88 $return = apply_filters( 'bp_friends_' . $amount . '_friendship_' . $action . '_notification', '<a href="' . esc_url( $link ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $item_id );87 $return = apply_filters( 'bp_friends_' . $amount . '_friendship_' . $action . '_notification', '<a href="' . esc_url( $link ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $item_id, $secondary_item_id ); 89 88 } else { 90 89 /** This filter is documented in bp-friends/bp-friends-notifications.php */ 91 90 $return = apply_filters( 'bp_friends_' . $amount . '_friendship_' . $action . '_notification', array(
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)