[buddypress-trac] [BuddyPress] #3490: wp-login.php?action=register should redirect you to /register

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Aug 19 00:28:03 UTC 2011


#3490: wp-login.php?action=register should redirect you to /register
-----------------------+---------------------
 Reporter:  InterMike  |       Owner:
     Type:  defect     |      Status:  closed
 Priority:  normal     |   Milestone:  1.5
Component:  Members    |     Version:  1.5
 Severity:  normal     |  Resolution:  fixed
 Keywords:  has-patch  |
-----------------------+---------------------

Comment (by r-a-y):

 You might want to consider my patch and removing the older code; my patch
 hooks directly into WP's registration page instead of having to declare a
 variable to look for the $_GET[action] and looking at
 $_SERVER[SCRIPT_NAME] for wp-signup.php.

 If you don't want to consider my patch, you can at least use BP's native
 signup permalink function:

 {{{
 bp_core_redirect( trailingslashit( bp_get_root_domain() . '/' .
 $bp->pages->register->slug ) );
 }}}

 to:

 {{{
 bp_core_redirect( bp_get_signup_page() );
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3490#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list