Actions
Bug #791
closedURL params are stripped in bp_core_no_access() redirects
Status:
Resolved
Priority name:
Low
Assignee:
Category name:
BuddyPress (misc)
Target version:
Start date:
2011-06-06
Due date:
% Done:
0%
Estimated time:
Deployment actions:
Description
See #227.
When attempting to visit access-restricted pages while not logged in, bp_core_no_access() redirects to wp-login.php, with a redirect_to argument of the originally requested URL. However, additional URL parameters are not being included in the redirect_to URL. Eg,
http://local.cicdev.com/groups/boone-hidden-testtntnttntn/docs/very-excellent-doc/history?action=diff&post_type=bp_doc&right=1523&left=283
gets redirected to
http://local.cicdev.com/groups/boone-hidden-testtntnttntn/docs/very-excellent-doc/history
This is probably just a function of how wp-login.php and wp_redirect() work, but it's worth spending a little bit of time figuring out whether it's something that can be avoided.
Actions