theme-my-login / theme-my-login

Home of the Theme My Login plugin for WordPress.
61 stars 54 forks source link

redirect to backend cannot be changed when login form is loaded directly #201

Closed cherbst closed 2 years ago

cherbst commented 2 years ago

The commit https://github.com/theme-my-login/theme-my-login/commit/40ccc0d2bdbaadb171f36f762d3fee3e418b0372 changed the behavior of TML so that after a direct call of the login page, after login, the user is redirected to the backend instead of the URL which is returned by the filter login_redirect

This is a regression. Please revert the commit.

jfarthing84 commented 2 years ago

The login_redirect filter is still applied just before the redirect takes place.