[buddypress-trac] [BuddyPress Trac] #8480: Avoid a fatal error if a plugin wrongly use one our do_action( ' bp_core_signup_send_activation_key' )
buddypress-trac
noreply at wordpress.org
Sat Jun 5 04:07:38 UTC 2021
#8480: Avoid a fatal error if a plugin wrongly use one our do_action( '
bp_core_signup_send_activation_key' )
------------------------------+---------------------
Reporter: imath | Owner: imath
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 8.0.0
Component: Members | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by imath):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"12961" 12961]:
{{{
#!CommitTicketReference repository="" revision="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
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8480#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list