Skip to:

Opened 5 years ago

Closed 3 years ago

#8057 closed defect (bug) (fixed)

BuddyPress should not reset the $wp_query when registration is disabled

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



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 (2)

#1 @boonebgorges
5 years 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&
  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?

#2 @imath
3 years ago

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

No news for 2 years, I'll close this ticket. Don't hesitate to reopen it if you think the issue is still there.

Note: See TracTickets for help on using tickets.