Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 4 years ago

#8411 closed defect (bug) (fixed)

Buddypress 7.0 has partially broken BP_ENABLE_MULTIBLOG

Reported by: shawfactor's profile shawfactor Owned by: imath's profile 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 4 years ago.

Download all attachments as: .zip

Change History (9)

#1 @shawfactor
4 years ago

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

#2 @shawfactor
4 years ago

  • Component changed from Core to Groups

#3 @imath
4 years 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
4 years ago

#4 @imath
4 years 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
4 years ago

Yes looks good, it is fixing my issue.

#6 @shawfactor
4 years ago

  • Keywords reporter-feedback removed

Yes looks good, it is fixing my issue.

#7 @imath
4 years 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
4 years 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.