Changeset 10500
- Timestamp:
- 02/03/2016 07:55:29 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-notifications.php
r10487 r10500 87 87 bp_send_email( $email_type, $receiver_user_id, $args ); 88 88 } 89 90 /** 91 * Fires after the sending of an @mention email notification. 92 * 93 * @since 1.5.0 94 * @since 2.5.0 $subject, $message, $content arguments unset and deprecated. 95 * 96 * @param BP_Activity_Activity $activity Activity Item object. 97 * @param string $deprecated Removed in 2.5; now an empty string. 98 * @param string $deprecated Removed in 2.5; now an empty string. 99 * @param string $deprecated Removed in 2.5; now an empty string. 100 * @param int $receiver_user_id The ID of the user who is receiving the update. 101 */ 102 do_action( 'bp_activity_sent_mention_email', $activity, '', '', '', $receiver_user_id ); 89 103 } 90 104 -
trunk/src/bp-core/deprecated/2.5.php
r10499 r10500 665 665 function bp_core_deprecated_email_actions( $email, $delivery_status ) { 666 666 $pre_2_5_emails = array( 667 'activity-at-message',668 667 'activity-comment', 669 668 'activity-comment-author', … … 672 671 'friends-request', 673 672 'friends-request-accepted', 674 'groups-at-message',675 673 'groups-details-updated', 676 674 'groups-invitation', … … 726 724 */ 727 725 do_action( 'bp_activity_sent_reply_to_reply_email', $tokens['parent-comment-user.id'], $email_subject, $email_content, $tokens['comment.id'], $tokens['commenter.id'], array() ); 728 729 } elseif ( $email_type === 'activity-at-message' || $email_type === 'groups-at-message' ) {730 /**731 * Fires after the sending of an @mention email notification.732 *733 * @since 1.5.0734 * @deprecated 2.5.0 Use the filters in BP_Email.735 *736 * @param BP_Activity_Activity $activity Activity Item object.737 * @param string $email_subject Email notification subject text.738 * @param string $email_content Email notification message text.739 * @param string $content Content of the @mention.740 * @param int $receiver_user_id The ID of the user who is receiving the update.741 */742 do_action( 'bp_activity_sent_mention_email', $tokens['activity'], $email_subject, $email_content, $tokens['content'], $tokens['receiver-user.id'] );743 726 744 727 } elseif ( $email_type === 'core-user-registration' ) {
Note: See TracChangeset
for help on using the changeset viewer.