Skip to:
Content

BuddyPress.org

Opened 4 years ago

Last modified 3 years ago

#6885 new defect (bug)

bp_has_custom_signup_page() & bp_has_custom_activation_page() are always true

Reported by: slaFFik Owned by:
Milestone: Awaiting Contributions Priority: high
Severity: normal Version:
Component: Core Keywords: needs-patch
Cc:

Description

These 2 functions always return true, and thus we can't use default wp-signup.php or /wp-login.php?action=register.
Reason: they check that these files exist:

array(
    'registration/activate.php',
    'members/activate.php',
    'activate.php'
)

But they always exist in bp-templates/bp-legacy/buddypress.

Change History (5)

#1 @DJPaul
4 years ago

  • Component changed from API - Sign ups & Activation to Component - Core
  • Keywords needs-patch good-first-bug added
  • Milestone changed from Awaiting Review to 2.6
  • Priority changed from normal to high

#2 @DJPaul
3 years ago

  • Keywords good-first-bug removed
  • Milestone changed from 2.6 to Future Release

#3 @slaFFik
3 years ago

  • Milestone changed from Future Release to 2.8

#4 @boonebgorges
3 years ago

This probably dates from [6448].

Checking for a template seems a pretty indirect way to see whether to load BP's registration page (rather than WP's) - it just happened to work previously. Should we check for the presence of bp_pages['register'] instead?

#5 @DJPaul
3 years ago

  • Milestone changed from 2.8 to Future Release
Note: See TracTickets for help on using tickets.