Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/15/2010 10:30:56 AM (17 years ago)
Author:
apeatling
Message:

Fixes #1949

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-notifications.php

    r2717 r2719  
    3535        /* Send the message */
    3636        $to = apply_filters( 'friends_notification_new_request_to', $to );
    37         $subject = apply_filters( 'friends_notification_new_request_subject', $subject );
    38         $message = apply_filters( 'friends_notification_new_request_message', $message );
     37        $subject = apply_filters( 'friends_notification_new_request_subject', $subject, $initiator_name );
     38        $message = apply_filters( 'friends_notification_new_request_message', $message, $initiator_name, $initiator_link, $all_requests_link );
    3939
    4040        wp_mail( $to, $subject, $message );
     
    7272        /* Send the message */
    7373        $to = apply_filters( 'friends_notification_accepted_request_to', $to );
    74         $subject = apply_filters( 'friends_notification_accepted_request_subject', $subject );
    75         $message = apply_filters( 'friends_notification_accepted_request_message', $message );
     74        $subject = apply_filters( 'friends_notification_accepted_request_subject', $subject, $friend_name );
     75        $message = apply_filters( 'friends_notification_accepted_request_message', $message, $friend_name, $friend_link );
    7676
    7777        wp_mail( $to, $subject, $message );
Note: See TracChangeset for help on using the changeset viewer.