Skip to:
Content

BuddyPress.org

Changeset 8743


Ignore:
Timestamp:
07/31/2014 01:54:44 PM (10 years ago)
Author:
djpaul
Message:

Core: when sending the user registration email, include the user's name in the email.

It makes the email read a bit friendlier. :) Fixes #4731

File:
1 edited

Legend:

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

    r8680 r8743  
    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( __( "%1\$s,\n\n\n\nThanks for registering! To complete the activation of your account and blog, please click the following link:\n\n%2\$s\n\n\n\nAfter you activate, you can visit your blog here:\n\n%3\$s", 'buddypress' ), $user, $activate_url, esc_url( "http://{$domain}{$path}" ) );
    321321    $subject = bp_get_email_subject( array( 'text' => sprintf( __( 'Activate %s', 'buddypress' ), 'http://' . $domain . $path ) ) );
    322322
Note: See TracChangeset for help on using the changeset viewer.