Skip to:
Content

BuddyPress.org

Opened 5 months ago

Closed 5 months 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 Owned by: imath
Milestone: 8.0.0 Priority: normal
Severity: normal Version:
Component: Members Keywords: has-patch commit
Cc:

Description

See this support topic @comminski posted recently.

Attachments (1)

8480.patch (1.3 KB) - added by imath 5 months ago.

Download all attachments as: .zip

Change History (4)

#1 @imath
5 months ago

In 12960:

Members Invitations: Improve inline documentation about 3 functions

See #8480

@imath
5 months ago

#2 @imath
5 months ago

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

#3 @imath
5 months 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.