Changeset 2925 for trunk/bp-core/bp-core-signup.php
- Timestamp:
- 04/15/2010 11:59:40 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-signup.php
r2909 r2925 361 361 * Now generate an activation key and send an email to the user so they can activate their account 362 362 * and validate their email address. Multisite installs send their own email, so this is only for single blog installs. 363 * 364 * To disable sending activation emails you can user the filter 'bp_core_signup_send_activation_key' and return false. 363 365 */ 364 if ( !bp_core_is_multisite() ) { 365 $activation_key = wp_hash( $user_id ); 366 update_usermeta( $user_id, 'activation_key', $activation_key ); 367 bp_core_signup_send_validation_email( $user_id, $user_email, $activation_key ); 366 if ( apply_filters( 'bp_core_signup_send_activation_key', true ) ) { 367 if ( !bp_core_is_multisite() ) { 368 $activation_key = wp_hash( $user_id ); 369 update_usermeta( $user_id, 'activation_key', $activation_key ); 370 bp_core_signup_send_validation_email( $user_id, $user_email, $activation_key ); 371 } 368 372 } 369 373
Note: See TracChangeset
for help on using the changeset viewer.