Skip to:
Content

BuddyPress.org

Ticket #4731: 4731#.patch

File 4731#.patch, 1.0 KB (added by sooskriszta, 10 years ago)

Adds username in registration email

  • src/bp-core/bp-core-filters.php

     
    317317        $activate_url = esc_url( $activate_url );
    318318
    319319        // Email contents
    320         $message = sprintf( __( "Thanks for registering! To complete the activation of your account and blog, please click the following link:\n\n%1\$s\n\n\n\nAfter you activate, you can visit your blog here:\n\n%2\$s", 'buddypress' ), $activate_url, esc_url( "http://{$domain}{$path}" ) );
     320        $message = sprintf( $user, ",<br /><br />", __( "Thanks for registering! To complete the activation of your account and blog, please click the following link:\n\n%1\$s\n\n\n\nAfter you activate, you can visit your blog here:\n\n%2\$s", 'buddypress' ), $activate_url, esc_url( "http://{$domain}{$path}" ) );
    321321        $subject = bp_get_email_subject( array( 'text' => sprintf( __( 'Activate %s', 'buddypress' ), 'http://' . $domain . $path ) ) );
    322322
    323323        // Email filters