[buddypress-trac] [BuddyPress] #4809: broken logic in bp_core_wpsignup_redirect causes redirect loop to register page

buddypress-trac noreply at wordpress.org
Thu Feb 7 13:59:57 UTC 2013


#4809: broken logic in bp_core_wpsignup_redirect causes redirect loop to register
page
-------------------------------------------------+-------------------------
 Reporter:  tometzky                             |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Members                              |  Review
 Severity:  major                                |     Version:  1.6.2
 Keywords:  has-patch needs-testing reporter-    |  Resolution:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by tometzky):

 I've replaced proposed patch, as after some tests I'm now convinced that
 the logic should be:

 {{{
 Redirect is performed if:
     (
         $_SERVER['SCRIPT_NAME'] contains 'wp-signup.php'
         or
         $_GET['action'] is equal to 'register'
     )
     and
     ( 'register.php' or 'registration/register.php' template exists )
 }}}

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


More information about the buddypress-trac mailing list