Can't control where a user redirects to when they log in
|Reported by:||AaronCampbell||Owned by:||ryan|
The 'login' case in wp-login FIRST sets $redirect_to THEN runs wp_signon(). If we switch that, a plugin could hook into wp_signon's wp_login hook, and set $_REQUESTredirect_to? based on user type, capabilities, name, etc. It would be nice, and there is no downside that I see.
Change History (14)
9 years ago
- Milestone changed from 2.6 to 2.6.2
- Resolution fixed deleted
- Status changed from closed to reopened