[wp-meta] [Making WordPress.org] #2244: Redirect back to the ticket you were on when you sign in
Making WordPress.org
noreply at wordpress.org
Thu Nov 24 04:13:48 UTC 2016
#2244: Redirect back to the ticket you were on when you sign in
-----------------------+------------------
Reporter: melchoyce | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Trac | Resolution:
Keywords: |
-----------------------+------------------
Comment (by nacin):
I don't think this was from the Apache configuration. I've done the change
requested by @ocean90, but it wasn't enough to fix this.
login.wordpress.org uses `wp_login_form()` which is meant to be embedded
in a page so you'd expect it to redirect back to itself. That's why its
internal default is REQUEST_URI rather than the referer or a redirect_to.
In wporg-sso/wp-plugin.php, we change the default redirect to the value of
redirect_to. But we never actually bother to fall back to the referer. So
I'm now fixing that.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2244#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list