Skip to:
Content

bbPress.org

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#2713 closed defect (fixed)

WP Admin Bar BuddyPress my-account forums links when not on root_blog_id

Reported by: imath Owned by: johnjamesjacoby
Milestone: 2.6 Priority: normal
Severity: normal Version: trunk
Component: Extend - BuddyPress Keywords: has-patch
Cc: lmoffereins@…

Description

Sorry if it duplicates to a previous ticket ;)

In a multisite config, BuddyPress is network activated. bbPress is not activated on root blog, but on a child blog.
When on the child blog, the logged in user's forum links in the Admin Bar are opening the BuddyPress user's profile.

As bbPress is not activated, you get 404.

I suggest, in this case to leave bbPress profile links.

Attachments (1)

2713.diff (4.1 KB) - added by imath 5 years ago.

Download all attachments as: .zip

Change History (6)

@imath
5 years ago

#1 @netweb
5 years ago

  • Milestone changed from Awaiting Review to 2.6
  • Owner set to johnjamesjacoby

Thanks @imath, will get @JJJ to review and commit :)

#2 @Offereins
5 years ago

  • Cc lmoffereins@… added

+1

#3 @johnjamesjacoby
4 years ago

In 5846:

BuddyPress: Do not filter profile URLs if not on BuddyPress root blog.

This changeset addresses a multisite implementation issue where user profiles would link to invalid URLs when BuddyPress was network activated and bbPress was active on the non-root blog.

Props imath. See #2713.

#4 @johnjamesjacoby
4 years ago

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

In 5847:

BuddyPress: Do not filter admin toolbar URLs if not on BuddyPress root blog.

This changeset addresses a multisite implementation issue where user profiles would link to invalid URLs when BuddyPress is network activated and bbPress is active on the non-root blog.

Props imath. Fixes #2713.

#5 @johnjamesjacoby
4 years ago

In 5848:

BuddyPress: Pass the currently logged in user ID when creating toolbar links. See #2713.

Note: See TracTickets for help on using tickets.