Opened 15 years ago
Closed 15 years ago
#1846 closed enhancement (fixed)
logical login redirect replacement for bp-default
Reported by: | mikepratt | Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | major |
Severity: | Version: | ||
Component: | Keywords: | login | |
Cc: |
Description
In bp-default, the login form in sidebar.php redirects to
<input type="hidden" name="redirect_to" value="<?php bp_root_domain() ?>" />
which has the unwanted effect for the user of taking them away form their entry point to the site, forcing either a page back or suer that gives up on that page and moves on.
Suggest using:
<input type="hidden" name="redirect_to" value="<?php echo wp_get_referer() ?>" />
in order to keep the user on the page he was on when attempting to login, keeping the experience consistent
i second this ticket! :)