Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

#8580 closed enhancement (fixed)

Introduce bp_allow_access_to_registration_pages().

Reported by: dcavins's profile dcavins Owned by: dcavins's profile dcavins
Milestone: 10.0.0 Priority: normal
Severity: normal Version: 9.1.1
Component: Members Keywords: has-patch commit
Cc: dcavins

Description

I'd like to introduce a new function to determine whether the registration and activation pages should be created/can be accessed. At the moment, the logic is in a few places, so is not centralized (and is not filterable). I'll attach a patch that introduces the new function and uses it in several places.

Thanks for your feedback!

Attachments (1)

8580.1.diff (3.5 KB) - added by dcavins 3 years ago.
Introduce bp_allow_access_to_registration_pages()

Download all attachments as: .zip

Change History (3)

@dcavins
3 years ago

Introduce bp_allow_access_to_registration_pages()

#1 @imath
3 years ago

  • Keywords commit added; dev-feedback removed

Looks good! Let's have it in 👍

#2 @dcavins
3 years ago

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

In 13118:

Introduce bp_allow_access_to_registration_pages().

Add core function to determine whether
registration and activation pages should be created.

Fixes #8580.

Note: See TracTickets for help on using tickets.