Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3640 closed defect (bug) (fixed)

Using the Locale Switcher on loses the return URL

Reported by: garrett-eclipse's profile garrett-eclipse Owned by: tellyworth's profile tellyworth
Milestone: Priority: normal
Component: Login & Authentication Keywords:



When logging into trac you're taken to which upon successful login returns you to the previous URL, in my case the trac ticket I was browsing.

Using the locale switcher however breaks this functionality. Once you've switched your locale and then go to login you'll be directed to your WP profile instead of the original page you were on.


Change History (3)

#1 @tellyworth
6 years ago

  • Owner set to tellyworth
  • Resolution set to fixed
  • Status changed from new to closed

In 7264:

Login: preserve redirect_to when switching locales.

Fixes #3640.

#2 @tellyworth
6 years ago

In 7265:

Fix improper use of esc_attr_e() in [7264], thanks @dd32

See #3640

#3 @garrett-eclipse
6 years ago

Thanks @tellyworth this seems to be working nicely now. Appreciated

Note: See TracTickets for help on using tickets.