Skip to:

Opened 3 years ago

Closed 3 years ago

#8480 closed defect (bug) (fixed)

Avoid a fatal error if a plugin wrongly use one our do_action( ' bp_core_signup_send_activation_key' )

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 8.0.0 Priority: normal
Severity: normal Version:
Component: Members Keywords: has-patch commit


See this support topic @comminski posted recently.

Attachments (1)

8480.patch (1.3 KB) - added by imath 3 years ago.

Download all attachments as: .zip

Change History (4)

#1 @imath
3 years ago

In 12960:

Members Invitations: Improve inline documentation about 3 functions

See #8480

3 years ago

#2 @imath
3 years ago

  • Keywords has-patch commit added; needs-patch removed

#3 @imath
3 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 12961:

Members Invitations: add default values to 2 hooks callback parameters

In case a plugin fires the bp_core_signup_send_activation_key & bp_core_signup_user hooks with only one parameter, it avoids a PHP error about missing expected arguments.

Props comminski

Fixes #8480

Note: See TracTickets for help on using tickets.