Ticket #5263: 5263.patch
File 5263.patch, 899 bytes (added by , 11 years ago) |
---|
-
bp-messages-functions.php
255 255 } 256 256 257 257 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 ); 259 259 } else { 260 260 $return = apply_filters( $filter, array( 261 261 'text' => $text, 262 262 'link' => $link 263 ), $link, (int) $total_items, $text, $link );263 ), $link, (int) $total_items, $text, $link, $item_id, $secondary_item_id ); 264 264 } 265 265 266 266 do_action( 'messages_format_notifications', $action, $item_id, $secondary_item_id, $total_items );