Skip to:
Content

BuddyPress.org

Opened 8 months ago

Last modified 8 months ago

#8057 assigned defect (bug)

BuddyPress should not reset the $wp_query when registration is disabled

Reported by: cdubia Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.1.0
Component: Members Keywords: reporter-feedback
Cc:

Description

Hi,

We are trying to use the Invite anyone plugin and the new version of buddypress has a bug in it (as well as Invite Anyone which i will report)

The problem is happening due to a change in the way BuddyPress now handles call to bp_is_register_page. Earlier, even if the registration was disabled, it used to return true. Invite anyone uses it for various purposes. The problem is BuddyPress resets this page and gives 404.

BuddyPress should not reset the $wp_query when registration is disabled

Change History (1)

#1 @boonebgorges
8 months ago

  • Component changed from New User Experience to Members
  • Keywords reporter-feedback added; needs-refresh removed
  • Priority changed from omg pizza to normal
  • Severity changed from critical to normal

Hi @cdubia - I'm unable to reproduce any problems with the latest version of Invite Anyone and BuddyPress 4.2.0. Here's the setup I'm testing:

  1. WordPress Multisite, with registration disabled
  2. Invite Anyone activated, with "Allow email invitations to be accepted even when site registration is disabled" checked
  3. Send an invitation
  4. Follow the link, which looks like: /register/?iaaction=accept-invitation&email=myemail@example.com
  5. The page loads as expected, and I'm able to register.

Furthermore, I don't see any recent changes to bp_is_register_page() that would indicate a change in behavior.

Can you please share more details about the problem that you're seeing, including detailed steps to reproduce your configuration?

Note: See TracTickets for help on using tickets.