[buddypress-trac] [BuddyPress] #2647: bp_core_catch_no_access() redirects to root and doesn't pass referer for login redirect

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Jun 1 16:00:43 UTC 2011


#2647: bp_core_catch_no_access() redirects to root and doesn't pass referer for
login redirect
-----------------------+--------------------------------------
  Reporter:  ethitter  |      Owner:
      Type:  defect    |     Status:  new
  Priority:  major     |  Milestone:  Awaiting Review
 Component:  Core      |    Version:  1.2.8
Resolution:            |   Keywords:  needs-patch dev-feedback
-----------------------+--------------------------------------

Comment (by acustica):

 I’m attaching a new version of the patch that also fixes the line that
 redirects to the login page; it wasn't URL-escaping the current request
 before using it as the redirect_to variable. So, I swapped out site_url(
 ... ) with wp_login_url( ... ), which automatically takes care of all
 that.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2647#comment:11>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list