Ticket #2180 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

Filter: bp_registration_needs_activation does nothing?

Reported by: nuprn1 Owned by:
Priority: major Milestone: 1.2.3
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

Changed 6 months ago by nuprn1


@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 on bp_core_signup_user so the user will get a confusing email about activating

Changed 6 months ago by apeatling

  • status changed from new to closed
  • resolution set to fixed

(In [2859]) Added filter to disable the sending of activation emails. Fixes #2180

Note: See TracTickets for help on using tickets.