[wp-trac] Re: [WordPress Trac] #5794: Easily redirectable wp_loginout

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 10 23:22:21 GMT 2008


#5794: Easily redirectable wp_loginout
-----------------------------------------+----------------------------------
 Reporter:  gViscardi                    |        Owner:  anonymous
     Type:  enhancement                  |       Status:  new      
 Priority:  normal                       |    Milestone:  2.5      
Component:  General                      |      Version:  2.3.3    
 Severity:  normal                       |   Resolution:           
 Keywords:  loginout redirect has-patch  |  
-----------------------------------------+----------------------------------
Comment (by gViscardi):

 My solution makes it so that you can redirect to wherever you want from
 the built-in function call without having to change the plugin/core code
 each time you wanted to redirect to a different page ( i tried but could
 not find a way to make this plugin-able), i.e.
 wp_loginout('loginRedirect=thispageinstead.php') or
 wp_loginout(logoutRedirect=thatpageinstead.php')

 It allows for more theme-based functionality so you can redirect wherever
 you want from each wp_loginout().

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5794#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list