Ticket #2669: ticket.2669.signup-filters..diff
File ticket.2669.signup-filters..diff, 2.9 KB (added by , 14 years ago) |
---|
-
bp-core/bp-core-signup.php
586 586 $subject = '[' . $from_name . '] ' . __( 'Activate Your Account', 'buddypress' ); 587 587 588 588 /* Send the message */ 589 $to = apply_filters( 'bp_core_activation_signup_user_notification_to', $user_email );590 $subject = apply_filters( 'bp_core_activation_signup_user_notification_subject', $subject );591 $message = apply_filters( 'bp_core_activation_signup_user_notification_message', $message );589 $to = apply_filters( 'bp_core_activation_signup_user_notification_to', $user_email, $user_id ); 590 $subject = apply_filters( 'bp_core_activation_signup_user_notification_subject', $subject, $user_id ); 591 $message = apply_filters( 'bp_core_activation_signup_user_notification_message', $message, $user_id ); 592 592 593 593 wp_mail( $to, $subject, $message, $message_headers ); 594 594 } -
bp-core/bp-core-filters.php
178 178 $subject = '[' . $from_name . '] ' . sprintf(__('Activate %s', 'buddypress' ), esc_url('http://' . $domain . $path)); 179 179 180 180 /* Send the message */ 181 $to = apply_filters( 'bp_core_activation_signup_blog_notification_to', $user_email );182 $subject = apply_filters( 'bp_core_activation_signup_blog_notification_subject', $subject );183 $message = apply_filters( 'bp_core_activation_signup_blog_notification_message', $message );181 $to = apply_filters( 'bp_core_activation_signup_blog_notification_to', $user_email, $domain, $path, $title, $user, $user_email, $key, $meta ); 182 $subject = apply_filters( 'bp_core_activation_signup_blog_notification_subject', $subject, $domain, $path, $title, $user, $user_email, $key, $meta ); 183 $message = apply_filters( 'bp_core_activation_signup_blog_notification_message', $message, $domain, $path, $title, $user, $user_email, $key, $meta ); 184 184 185 185 wp_mail( $to, $subject, $message, $message_headers ); 186 186 … … 210 210 $subject = '[' . $from_name . '] ' . __( 'Activate Your Account', 'buddypress' ); 211 211 212 212 /* Send the message */ 213 $to = apply_filters( 'bp_core_activation_signup_user_notification_to', $user_email );214 $subject = apply_filters( 'bp_core_activation_signup_user_notification_subject', $subject );215 $message = apply_filters( 'bp_core_activation_signup_user_notification_message', $message );213 $to = apply_filters( 'bp_core_activation_signup_user_notification_to', $user_email, $user, $user_email, $key, $meta ); 214 $subject = apply_filters( 'bp_core_activation_signup_user_notification_subject', $subject, $user, $user_email, $key, $meta ); 215 $message = apply_filters( 'bp_core_activation_signup_user_notification_message', $message, $user, $user_email, $key, $meta ); 216 216 217 217 wp_mail( $to, $subject, $message, $message_headers ); 218 218