Skip to:
Content

BuddyPress.org

Changeset 3557


Ignore:
Timestamp:
12/22/2010 01:29:59 AM (14 years ago)
Author:
boonebgorges
Message:

Passes additional arguments to the filters that handle the email sent at signup. Fixes #2669, props ptahdunbar

Location:
trunk/bp-core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-filters.php

    r3552 r3557  
    201201
    202202    /* Send the message */
    203     $to = apply_filters( 'bp_core_activation_signup_blog_notification_to', $user_email );
    204     $subject = apply_filters( 'bp_core_activation_signup_blog_notification_subject', $subject );
    205     $message = apply_filters( 'bp_core_activation_signup_blog_notification_message', $message );
     203    $to = apply_filters( 'bp_core_activation_signup_blog_notification_to', $user_email, $domain, $path, $title, $user, $user_email, $key, $meta );
     204    $subject = apply_filters( 'bp_core_activation_signup_blog_notification_subject', $subject, $domain, $path, $title, $user, $user_email, $key, $meta );
     205    $message = apply_filters( 'bp_core_activation_signup_blog_notification_message', $message, $domain, $path, $title, $user, $user_email, $key, $meta );
    206206
    207207    wp_mail( $to, $subject, $message, $message_headers );
     
    235235
    236236    /* Send the message */
    237     $to = apply_filters( 'bp_core_activation_signup_user_notification_to', $user_email );
    238     $subject = apply_filters( 'bp_core_activation_signup_user_notification_subject', $subject );
    239     $message = apply_filters( 'bp_core_activation_signup_user_notification_message', $message );
     237    $to = apply_filters( 'bp_core_activation_signup_user_notification_to', $user_email, $user, $user_email, $key, $meta );
     238    $subject = apply_filters( 'bp_core_activation_signup_user_notification_subject', $subject, $user, $user_email, $key, $meta );
     239    $message = apply_filters( 'bp_core_activation_signup_user_notification_message', $message, $user, $user_email, $key, $meta );
    240240
    241241    wp_mail( $to, $subject, $message, $message_headers );
  • trunk/bp-core/bp-core-signup.php

    r3488 r3557  
    630630
    631631    /* Send the message */
    632     $to = apply_filters( 'bp_core_activation_signup_user_notification_to', $user_email );
    633     $subject = apply_filters( 'bp_core_activation_signup_user_notification_subject', $subject );
    634     $message = apply_filters( 'bp_core_activation_signup_user_notification_message', $message );
     632    $to = apply_filters( 'bp_core_activation_signup_user_notification_to', $user_email, $user_id );
     633    $subject = apply_filters( 'bp_core_activation_signup_user_notification_subject', $subject, $user_id );
     634    $message = apply_filters( 'bp_core_activation_signup_user_notification_message', $message, $user_id );
    635635
    636636    wp_mail( $to, $subject, $message, $message_headers );
Note: See TracChangeset for help on using the changeset viewer.