[wp-trac] [WordPress Trac] #18743: Persistent redirect_to For Login, Registration, and Lost Password

WordPress Trac noreply at wordpress.org
Tue May 28 04:58:16 UTC 2013


#18743: Persistent redirect_to For Login, Registration, and Lost Password
-------------------------+------------------------------
 Reporter:  sparkweb     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Users        |     Version:  3.3
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by onokazu):

 Maybe the following line in wp-login.php (WP 3.5.1)

 {{{
 <a href="<?php echo esc_url( site_url( 'wp-login.php?action=register',
 'login' ) ); ?>"><?php _e( 'Register' ); ?></a> |
 }}}

 should be

 {{{
 <a href="<?php echo esc_url( site_url( 'wp-login.php?action=register&' .
 urlencode($redirect_to), 'login' ) ); ?>"><?php _e( 'Register' ); ?></a> |
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/18743#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list