[buddypress-trac] [BuddyPress Trac] #8542: Add filters to edit the URL used to redirect an activated account
buddypress-trac
noreply at wordpress.org
Sun Oct 10 11:46:24 UTC 2021
#8542: Add filters to edit the URL used to redirect an activated account
------------------------------------+---------------------
Reporter: imath | Owner: imath
Type: enhancement | Status: closed
Priority: normal | Milestone: 10.0.0
Component: Members | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback |
------------------------------------+---------------------
Changes (by imath):
* owner: (none) => imath
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"13125" 13125]:
{{{
#!CommitTicketReference repository="" revision="13125"
Introduce filters to allow custom redirection URL on activated account
- `bp_members_invitations_activation_errored_redirect` can be used to
customize the URL to redirect the user to if activating the invitation
failed.
- `bp_members_invitations_activation_successed_redirect` can be used for
the same purpose but on a successful activated account.
- `bp_members_action_activate_errored_redirect` can be used to customize
the URL to redirect the user to if activating the account failed.
- `bp_members_action_activate_successed_redirect` can be used for the same
purpose but on a successful activated account.
NB: this commit also makes sure the `bp_get_activation_page()` is used to
build the activation page url instead of rebuilding this URL from the
activate actions.
Fixes #8542
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8542#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list