Skip to:
Content

BuddyPress.org

Opened 7 weeks ago

Closed 6 weeks ago

#8411 closed defect (bug) (fixed)

Buddypress 7.0 has partially broken BP_ENABLE_MULTIBLOG

Reported by: shawfactor Owned by: imath
Milestone: 7.1.0 Priority: high
Severity: normal Version: 7.0.0
Component: Groups Keywords: has-patch
Cc:

Description

With Buddypress 7.0 active on a multisite and BP_ENABLE_MULTIBLOG set to true the top order menu item for groups appears twice. But the maintence screen is not accessible at "mysite.com/wp-admin/network/admin.php?page=bp-groups"

The message is: Sorry, you are not allowed to access this page.

I have tested this on multiple installations, with no other plugins activated and it occurred when buddypress was upgraded to 7.0

Attachments (1)

8411.patch (1.6 KB) - added by imath 6 weeks ago.

Download all attachments as: .zip

Change History (9)

#1 @shawfactor
7 weeks ago

bp-groups-admin.php line 90 handles the redirect

#2 @shawfactor
7 weeks ago

  • Component changed from Core to Groups

#3 @imath
7 weeks ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 7.1.0
  • Version set to 7.0.0

Hi thanks for your report.

It’s too bad this has not been identified during the beta release period.

@imath
6 weeks ago

#4 @imath
6 weeks ago

  • Keywords has-patch reporter-feedback added; needs-patch removed

Hi @shawfactor

8411.patch should fix the issue. I've tested it on:

  • WP
  • WP multisite, BP network activated
  • WP multisite, BP sub site activated
  • WP multisite, BP network activated and BP_ENABLE_MULTIBLOG set to true

Can you confirm it's fixing your issue?

#5 @shawfactor
6 weeks ago

Yes looks good, it is fixing my issue.

#6 @shawfactor
6 weeks ago

  • Keywords reporter-feedback removed

Yes looks good, it is fixing my issue.

#7 @imath
6 weeks ago

In 12824:

BP Types: use regular admin menu links when multiblog mode is on

For multisite configs defining the BP_ENABLE_MULTIBLOG constant to true, Admin menus for BP Types need to use regular admin links instead of network admin ones.

Props shawfactor

See #8411 (Trunk)

#8 @imath
6 weeks ago

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

In 12825:

BP Types: use regular admin menu links when multiblog mode is on

For multisite configs defining the BP_ENABLE_MULTIBLOG constant to true, Admin menus for BP Types need to use regular admin links instead of network admin ones.

Props shawfactor

Fixes #8411 (Branch 7.0)

Note: See TracTickets for help on using tickets.