Ticket #4731: 4731-2.diff
File 4731-2.diff, 1.7 KB (added by , 11 years ago) |
---|
-
src/bp-core/bp-core-filters.php
356 356 $activate_url = esc_url( $activate_url ); 357 357 358 358 // Email contents 359 $message = sprintf( __( "Thanks for registering! To complete the activation of your account please click the following link:\n\n%1\$s\n\n ", 'buddypress' ), $activate_url);359 $message = sprintf( __( "Thanks for registering! To complete the activation of your account please click the following link:\n\n%1\$s\n\nYour username is: %2\$s", 'buddypress' ), $activate_url, $user ); 360 360 $subject = bp_get_email_subject( array( 'text' => __( 'Activate Your Account', 'buddypress' ) ) ); 361 361 362 362 // Email filters -
src/bp-members/bp-members-functions.php
1946 1946 $activate_url = bp_get_activation_page() ."?key=$key"; 1947 1947 $activate_url = esc_url( $activate_url ); 1948 1948 1949 $message = sprintf( __( "Thanks for registering! To complete the activation of your account please click the following link:\n\n%1\$s\n\n ", 'buddypress' ), $activate_url);1949 $message = sprintf( __( "Thanks for registering! To complete the activation of your account please click the following link:\n\n%1\$s\n\nYour username is: %2\$s", 'buddypress' ), $activate_url, get_userdata( $user_id )->user_login ); 1950 1950 $subject = bp_get_email_subject( array( 'text' => __( 'Activate Your Account', 'buddypress' ) ) ); 1951 1951 1952 1952 // Send the message