Skip to:
Content

BuddyPress.org

Ticket #5263: 5263.patch

File 5263.patch, 899 bytes (added by henrywright, 11 years ago)
  • bp-messages-functions.php

     
    255255        }
    256256
    257257        if ( 'string' == $format ) {
    258                 $return = apply_filters( $filter, '<a href="' . $link . '" title="' . $title . '">' . $text . '</a>', (int) $total_items, $text, $link );
     258                $return = apply_filters( $filter, '<a href="' . $link . '" title="' . $title . '">' . $text . '</a>', (int) $total_items, $text, $link, $item_id, $secondary_item_id );
    259259        } else {
    260260                $return = apply_filters( $filter, array(
    261261                        'text' => $text,
    262262                        'link' => $link
    263                 ), $link, (int) $total_items, $text, $link );
     263                ), $link, (int) $total_items, $text, $link, $item_id, $secondary_item_id );
    264264        }
    265265
    266266        do_action( 'messages_format_notifications', $action, $item_id, $secondary_item_id, $total_items );