Skip to:
Content

BuddyPress.org

Changeset 7613


Ignore:
Timestamp:
11/29/2013 07:08:19 PM (11 years ago)
Author:
boonebgorges
Message:

Pass $item_id and $secondary_item_id to message notification filters

Fixes #5263

Props henrywright

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-functions.php

    r7570 r7613  
    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
Note: See TracChangeset for help on using the changeset viewer.