[wp-trac] [WordPress Trac] #7002: Can't control where a user redirects to when they log in

WordPress Trac wp-trac at lists.automattic.com
Tue May 20 13:30:38 GMT 2008


#7002: Can't control where a user redirects to when they log in
---------------------------+------------------------------------------------
 Reporter:  AaronCampbell  |       Owner:  anonymous
     Type:  defect         |      Status:  new      
 Priority:  normal         |   Milestone:  2.5.2    
Component:  General        |     Version:           
 Severity:  normal         |    Keywords:           
---------------------------+------------------------------------------------
 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 $_REQUEST['redirect_to'] based on user type,
 capabilities, name, etc.  It would be nice, and there is no downside that
 I see.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7002>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list