[wp-trac] [WordPress Trac] #10141: URL Functions for: login, logout, lostpasword and the new register

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 13 16:41:28 GMT 2009


#10141: URL Functions for: login, logout, lostpasword and the new register
-------------------------+--------------------------------------------------
 Reporter:  ramiy        |       Owner:       
     Type:  enhancement  |      Status:  new  
 Priority:  normal       |   Milestone:  2.8.1
Component:  Themes       |     Version:  2.8  
 Severity:  normal       |    Keywords:       
-------------------------+--------------------------------------------------
 I want to finish the work i started on #9932.

 First i complited the set of "wp_*_url()" functions:

 '''wp_login_url($redirect)''' - exists

 '''wp_logout_url($redirect)''' - exists

 '''wp_lostpassword_url($redirect)''' - exists

 '''wp_registration_url($redirect)''' - NEW !!!

 Then i examind the '''wp_loginout($redirect)''' function and the
 '''wp_register( $before = '<li>', $after = '</li>' )''' function.

 The old '''wp_register( $before = '<li>', $after = '</li>' )''' was
 depricated in favor of the new '''wp_registration($redirect)''', and moved
 to <wp-includes/deprecated.php>.

 The new '''wp_registration()''' function uses '''wp_registration_url()''',
 and like all the functions in this set it accepts only the $redirect
 parameter.

 At the end i fixed <wp-includes/default-widgets.php> and <wp-
 content/themes/default/sidebar.php> to use the new '''wp_registration()'''
 function.

 (Sorry for the bad english)

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


More information about the wp-trac mailing list