Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 4 years ago

#6208 closed defect (bug) (fixed)

Filter register_url when registration is enabled

Reported by: johnjamesjacoby Owned by: boonebgorges
Milestone: 2.3 Priority: normal
Severity: normal Version:
Component: Registration Keywords: 2nd-opinion has-patch
Cc:

Description

When registration is enabled and the page is properly set, we should filter register_url to ensure any plugins using wp_registration_url() (introduced in WordPress 3.6) will get our URL instead of WordPress's.

Attachments (1)

6208.diff (915 bytes) - added by Mamaduka 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @Mamaduka
5 years ago

I like the idea, usually end up adding this manually. I'm gonna provide patch for this ticket.

@Mamaduka
5 years ago

#2 @Mamaduka
5 years ago

  • Keywords has-patch added; needs-patch removed

#3 @boonebgorges
4 years ago

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

In 9705:

Filter return value of wp_registration_url() so that it returns BP's Register page.

Props Mamaduka, johnjamesjacoby.
Fixes #6208.

Note: See TracTickets for help on using tickets.