[buddypress-trac] [BuddyPress] #1846: logical login redirect replacement for bp-default
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sun Feb 7 22:32:45 UTC 2010
#1846: logical login redirect replacement for bp-default
------------------------+---------------------------------------------------
Reporter: mikepratt | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 1.2
Keywords: login |
------------------------+---------------------------------------------------
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
--
Ticket URL: <http://trac.buddypress.org/ticket/1846>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list