[buddypress-trac] [BuddyPress Trac] #7072: Filter error in buddypress

buddypress-trac noreply at wordpress.org
Wed May 18 06:12:53 UTC 2016

#7072: Filter error in buddypress
 Reporter:  harimay                 |      Owner:  johnjamesjacoby
     Type:  defect (bug)            |     Status:  new
 Priority:  normal                  |  Milestone:  BuddyPress.org
Component:  Sites - BuddyPress.org  |    Version:  2.5.0
 Severity:  normal                  |   Keywords:
 There is an small error on the buddypress
 please kindly check with this filter

 File and Line number
 buddypress plugin buddypress\bp-messages\bp-messages-notifications.php
 Line number 155

 The filter action contain the 7 variable of which "$link" are callaed
 twice this filter is being generated dynamically with the number of
 message send and received

 The documentation is being writer on the same page

                  * Filters the new message notification text before the
 notification is created.
                  * This is a dynamic filter. Possible filter names are:
                  *   - 'bp_messages_multiple_new_message_notification'.
                  *   - 'bp_messages_single_new_message_notification'.
                  * @param string $retval            Notification text.
                  * @param int    $total_items       Number of messages
 referred to by the notification.
                  * @param string $text              The raw notification
 test (ie, not wrapped in a link).
                  * @param int    $item_id           ID of the associated
                  * @param int    $secondary_item_id ID of the secondary
 associated item.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7072>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list