Opened 15 years ago
Closed 15 years ago
#2180 closed defect (bug) (fixed)
Filter: bp_registration_needs_activation does nothing?
Reported by: | nuprn1 | Owned by: | |
---|---|---|---|
Milestone: | 1.2.3 | Priority: | major |
Severity: | Version: | ||
Component: | Core | Keywords: | |
Cc: |
Description
in 1.2.2 i see the new bp_registration_needs_activation filter and the reference on register.php template page.
But I don't see anything in function bp_core_signup_user to bypass the required email activation. (setting user_status 0 directly) or do i need to hook on the action bp_core_signup_user and update the status again?
Change History (2)
Note: See
TracTickets for help on using
tickets.
@etiviti 'bp_core_signup_user' action change the wp_users.user_status to int 0 and then filter 'bp_registration_needs_activation' to false.
Problem i see with this is
bp_core_signup_send_validation_email
is called before the do_action onbp_core_signup_user
so the user will get a confusing email about activating