Skip to:

Opened 11 years ago

Closed 11 years ago

#2160 closed defect (bug) (fixed)

Wrong redirect on subscribe and favorite in buddypress group forum

Reported by: lakrisgubben's profile lakrisgubben Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.2.3
Component: Extend - BuddyPress Keywords:


When clicking "subscribe" or "favorite" in a buddypress group forum (with bbpress 2.2.3 but the problem seems to be in trunk as well) the user is redirected to the group root (/groups) instead of the topic one was at. As far as I can tell this has to do with the functions bbp_subscriptions_handler and bbp_favorites_handler. Don't know if the following is the best way to fix it, but it seems to work at least:

Change line and line to

} elseif ( bbp_is_single_topic() || bbp_is_single_reply() || bp_is_group() ) {

Change History (2)

#1 @johnjamesjacoby
11 years ago

  • Milestone changed from Awaiting Review to 2.3

Confirmed. Fix incoming.

#2 @johnjamesjacoby
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4715]) In favorite/subscription handlers, default redirect to get_permalink( $topic_id ) if no other match is found. Fixes #2160.

Note: See TracTickets for help on using tickets.