[buddypress-trac] [BuddyPress Trac] #7446: Logged in users redirected away from the register page
buddypress-trac
noreply at wordpress.org
Fri Feb 17 13:35:07 UTC 2017
#7446: Logged in users redirected away from the register page
----------------------------------------+-----------------------------
Reporter: henry.wright | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Core | Version:
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug |
----------------------------------------+-----------------------------
Comment (by henry.wright):
Hi @johnjamesjacoby
Unhooking {{{bp_core_screen_signup()}}} was my first thought. When I tried
it I got a Nginx server error. Scratched my head and at that point I
opened this ticket.
{{{
add_action( 'bp_init', function() {
remove_action( 'bp_screens', 'bp_core_screen_signup' );
} );
add_action( 'bp_screens', 'my_core_screen_signup' );
function my_core_screen_signup() {
// Copy of bp_core_screen_signup()'s content here.
}
}}}
Just as a test, if I modify {{{bp_core_screen_signup()}}} directly to
remove the redirect, the redirect still happens which suggests there's a
redirect elsewhere in BP core. My next step is to try to find out what
else is redirecting logged in users away from the registration page.
I think this is my problem, so feel free to close the ticket. Thanks again
for your replies
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7446#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list