Changeset 4144
- Timestamp:
- 03/15/2011 02:55:33 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-notifications.php
r4118 r4144 60 60 $to = apply_filters( 'bp_activity_at_message_notification_to', $to ); 61 61 $subject = apply_filters( 'bp_activity_at_message_notification_subject', $subject, $poster_name ); 62 $message = apply_filters( 'bp_activity_at_message_notification_message', $message, $poster_name, $content, $message_link );62 $message = apply_filters( 'bp_activity_at_message_notification_message', $message, $poster_name, $content, $message_link, $settings_link ); 63 63 64 64 wp_mail( $to, $subject, $message ); … … 106 106 $to = apply_filters( 'bp_activity_new_comment_notification_to', $to ); 107 107 $subject = apply_filters( 'bp_activity_new_comment_notification_subject', $subject, $poster_name ); 108 $message = apply_filters( 'bp_activity_new_comment_notification_message', $message, $poster_name, $content, $thread_link );108 $message = apply_filters( 'bp_activity_new_comment_notification_message', $message, $poster_name, $content, $thread_link, $settings_link ); 109 109 110 110 wp_mail( $to, $subject, $message ); … … 151 151 $to = apply_filters( 'bp_activity_new_comment_notification_comment_author_to', $to ); 152 152 $subject = apply_filters( 'bp_activity_new_comment_notification_comment_author_subject', $subject, $poster_name ); 153 $message = apply_filters( 'bp_activity_new_comment_notification_comment_author_message', $message, $poster_name, $content );153 $message = apply_filters( 'bp_activity_new_comment_notification_comment_author_message', $message, $poster_name, $content, $settings_link ); 154 154 155 155 wp_mail( $to, $subject, $message ); -
trunk/bp-friends/bp-friends-notifications.php
r3614 r4144 37 37 $to = apply_filters( 'friends_notification_new_request_to', $to ); 38 38 $subject = apply_filters( 'friends_notification_new_request_subject', $subject, $initiator_name ); 39 $message = apply_filters( 'friends_notification_new_request_message', $message, $initiator_name, $initiator_link, $all_requests_link );39 $message = apply_filters( 'friends_notification_new_request_message', $message, $initiator_name, $initiator_link, $all_requests_link, $settings_link ); 40 40 41 41 wp_mail( $to, $subject, $message ); … … 77 77 $to = apply_filters( 'friends_notification_accepted_request_to', $to ); 78 78 $subject = apply_filters( 'friends_notification_accepted_request_subject', $subject, $friend_name ); 79 $message = apply_filters( 'friends_notification_accepted_request_message', $message, $friend_name, $friend_link );79 $message = apply_filters( 'friends_notification_accepted_request_message', $message, $friend_name, $friend_link, $settings_link ); 80 80 81 81 wp_mail( $to, $subject, $message ); -
trunk/bp-groups/bp-groups-notifications.php
r4118 r4144 33 33 $to = apply_filters( 'groups_notification_group_updated_to', $to ); 34 34 $subject = apply_filters_ref_array( 'groups_notification_group_updated_subject', array( $subject, &$group ) ); 35 $message = apply_filters_ref_array( 'groups_notification_group_updated_message', array( $message, &$group, $group_link ) );35 $message = apply_filters_ref_array( 'groups_notification_group_updated_message', array( $message, &$group, $group_link, $settings_link ) ); 36 36 37 37 wp_mail( $to, $subject, $message ); … … 84 84 $to = apply_filters( 'groups_notification_new_membership_request_to', $to ); 85 85 $subject = apply_filters_ref_array( 'groups_notification_new_membership_request_subject', array( $subject, &$group ) ); 86 $message = apply_filters_ref_array( 'groups_notification_new_membership_request_message', array( $message, &$group, $requesting_user_name, $profile_link, $group_requests ) );86 $message = apply_filters_ref_array( 'groups_notification_new_membership_request_message', array( $message, &$group, $requesting_user_name, $profile_link, $group_requests, $settings_link ) ); 87 87 88 88 wp_mail( $to, $subject, $message ); … … 140 140 $to = apply_filters( 'groups_notification_membership_request_completed_to', $to ); 141 141 $subject = apply_filters_ref_array( 'groups_notification_membership_request_completed_subject', array( $subject, &$group ) ); 142 $message = apply_filters_ref_array( 'groups_notification_membership_request_completed_message', array( $message, &$group, $group_link ) );142 $message = apply_filters_ref_array( 'groups_notification_membership_request_completed_message', array( $message, &$group, $group_link, $settings_link ) ); 143 143 144 144 wp_mail( $to, $subject, $message ); … … 188 188 $to = apply_filters( 'groups_notification_promoted_member_to', $to ); 189 189 $subject = apply_filters_ref_array( 'groups_notification_promoted_member_subject', array( $subject, &$group ) ); 190 $message = apply_filters_ref_array( 'groups_notification_promoted_member_message', array( $message, &$group, $promoted_to, $group_link ) );190 $message = apply_filters_ref_array( 'groups_notification_promoted_member_message', array( $message, &$group, $promoted_to, $group_link, $settings_link ) ); 191 191 192 192 wp_mail( $to, $subject, $message ); … … 242 242 $to = apply_filters( 'groups_notification_group_invites_to', $to ); 243 243 $subject = apply_filters_ref_array( 'groups_notification_group_invites_subject', array( $subject, &$group ) ); 244 $message = apply_filters_ref_array( 'groups_notification_group_invites_message', array( $message, &$group, $inviter_name, $inviter_link, $invites_link, $group_link ) );244 $message = apply_filters_ref_array( 'groups_notification_group_invites_message', array( $message, &$group, $inviter_name, $inviter_link, $invites_link, $group_link, $settings_link ) ); 245 245 246 246 wp_mail( $to, $subject, $message ); … … 302 302 $to = apply_filters( 'groups_at_message_notification_to', $to ); 303 303 $subject = apply_filters( 'groups_at_message_notification_subject', $subject, $group, $poster_name ); 304 $message = apply_filters( 'groups_at_message_notification_message', $message, $group, $poster_name, $content, $message_link );304 $message = apply_filters( 'groups_at_message_notification_message', $message, $group, $poster_name, $content, $message_link, $settings_link ); 305 305 306 306 wp_mail( $to, $subject, $message ); -
trunk/bp-messages/bp-messages-notifications.php
r3757 r4144 45 45 $email_to = apply_filters( 'messages_notification_new_message_to', $email_to ); 46 46 $email_subject = apply_filters( 'messages_notification_new_message_subject', $email_subject, $sender_name ); 47 $email_content = apply_filters( 'messages_notification_new_message_message', $email_content, $sender_name, $subject, $content, $message_link );47 $email_content = apply_filters( 'messages_notification_new_message_message', $email_content, $sender_name, $subject, $content, $message_link, $settings_link ); 48 48 49 49 wp_mail( $email_to, $email_subject, $email_content );
Note: See TracChangeset
for help on using the changeset viewer.