Skip to:

Opened 9 years ago

Closed 9 years ago

#6208 closed defect (bug) (fixed)

Filter register_url when registration is enabled

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


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 9 years ago.

Download all attachments as: .zip

Change History (4)

#1 @Mamaduka
9 years ago

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

9 years ago

#2 @Mamaduka
9 years ago

  • Keywords has-patch added; needs-patch removed

#3 @boonebgorges
9 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.